Add a widget to a widget container. It doesn't matter whether the container was added to this list already
or whether the container is added later. As long as a container having the same containerId is added at
some point the widget will be added to that container. If no container having this id is added the widget
will not be recognized.
public addToContainerWidget ( string $containerId, |
||
$containerId | string | eg 'Products' or 'Contents'. See {@link WidgetContainerConfig::setId} |
$widget |