File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ public function getConfigTreeBuilder()
2222 ->children ()
2323 ->arrayNode ('phpcr ' )
2424 ->addDefaultsIfNotSet ()
25+ ->canBeEnabled ()
2526 ->children ()
26- ->booleanNode ('enabled ' )->defaultFalse ()->end ()
2727 ->scalarNode ('basepath ' )->defaultValue ('/cms ' )->end ()
2828 ->scalarNode ('manager_name ' )->defaultNull ()->end ()
2929 ->enumNode ('use_sonata_admin ' )
@@ -46,8 +46,8 @@ public function getConfigTreeBuilder()
4646 ->end ()
4747 ->arrayNode ('publish_workflow ' )
4848 ->addDefaultsIfNotSet ()
49+ ->canBeDisabled ()
4950 ->children ()
50- ->booleanNode ('enabled ' )->defaultTrue ()->end ()
5151 ->scalarNode ('checker_service ' )->defaultValue ('cmf_core.publish_workflow.checker.default ' )->end ()
5252 ->scalarNode ('view_non_published_role ' )->defaultValue ('ROLE_CAN_VIEW_NON_PUBLISHED ' )->end ()
5353 ->booleanNode ('request_listener ' )->defaultTrue ()->end ()
You can’t perform that action at this time.
0 commit comments