File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/Bundle/DependencyInjection Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ sylius_resource:
1313 factory : Sylius\Component\Resource\Factory\Factory
1414 form : Sylius\Bundle\ResourceBundle\Form\Type\DefaultResourceType
1515 validation_groups : [sylius]
16- options :
17- object_manager : default
1816 templates :
1917 form : Book/_form.html.twig
2018 translation :
@@ -28,7 +26,6 @@ sylius_resource:
2826 validation_groups : [sylius]
2927 templates :
3028 form : Book/Translation/_form.html.twig
31- options : ~
3229` ` `
3330
3431## Routing Generator Configuration Reference
Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ private function addResourcesSection(ArrayNodeDefinition $node): void
6363 ->arrayPrototype ()
6464 ->children ()
6565 ->scalarNode ('driver ' )->defaultValue (SyliusResourceBundle::DRIVER_DOCTRINE_ORM )->end ()
66- ->variableNode ('options ' )->end ()
66+ ->variableNode ('options ' )
67+ ->setDeprecated ('sylius/resource-bundle ' , '1.12 ' , 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0. ' )
68+ ->end ()
6769 ->scalarNode ('templates ' )->cannotBeEmpty ()->end ()
6870 ->scalarNode ('state_machine_component ' )->defaultNull ()->end ()
6971 ->arrayNode ('classes ' )
@@ -80,7 +82,9 @@ private function addResourcesSection(ArrayNodeDefinition $node): void
8082 ->end ()
8183 ->arrayNode ('translation ' )
8284 ->children ()
83- ->variableNode ('options ' )->end ()
85+ ->variableNode ('options ' )
86+ ->setDeprecated ('sylius/resource-bundle ' , '1.12 ' , 'The "%node%" node at "%path%" is deprecated and will be removed in 2.0. ' )
87+ ->end ()
8488 ->arrayNode ('classes ' )
8589 ->isRequired ()
8690 ->addDefaultsIfNotSet ()
You can’t perform that action at this time.
0 commit comments