mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
sf4, adding require symfony/templating + fix treebuilder depreciation
This commit is contained in:
parent
544bd66000
commit
b4847a6b61
@ -181,8 +181,8 @@ trait AddWidgetConfigurationTrait
|
|||||||
|
|
||||||
// adding the possible config on each widget under the widget_alias
|
// adding the possible config on each widget under the widget_alias
|
||||||
foreach ($this->filterWidgetByPlace($place) as $factory) {
|
foreach ($this->filterWidgetByPlace($place) as $factory) {
|
||||||
$builder = new TreeBuilder();
|
$builder = new TreeBuilder($factory->getWidgetAlias());
|
||||||
$widgetOptionsRoot = $builder->root($factory->getWidgetAlias());
|
$widgetOptionsRoot = $builder->getRootNode($factory->getWidgetAlias());
|
||||||
$widgetOptionsRoot->canBeUnset()
|
$widgetOptionsRoot->canBeUnset()
|
||||||
->info(sprintf('the configuration for the widget "%s" (only required if this widget is set in widget_alias)',
|
->info(sprintf('the configuration for the widget "%s" (only required if this widget is set in widget_alias)',
|
||||||
$factory->getWidgetAlias()));
|
$factory->getWidgetAlias()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user