mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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
|
||||
foreach ($this->filterWidgetByPlace($place) as $factory) {
|
||||
$builder = new TreeBuilder();
|
||||
$widgetOptionsRoot = $builder->root($factory->getWidgetAlias());
|
||||
$builder = new TreeBuilder($factory->getWidgetAlias());
|
||||
$widgetOptionsRoot = $builder->getRootNode($factory->getWidgetAlias());
|
||||
$widgetOptionsRoot->canBeUnset()
|
||||
->info(sprintf('the configuration for the widget "%s" (only required if this widget is set in widget_alias)',
|
||||
$factory->getWidgetAlias()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user