diff --git a/bundles/CoreBundle/config/pimcore/default.yaml b/bundles/CoreBundle/config/pimcore/default.yaml index 1310e7ed7ea..60c5046e21a 100644 --- a/bundles/CoreBundle/config/pimcore/default.yaml +++ b/bundles/CoreBundle/config/pimcore/default.yaml @@ -329,3 +329,8 @@ pimcore: gotenberg: base_url: 'http://gotenberg:3000' + + config_location: + select_options: + read_target: + type: 'symfony-config' diff --git a/bundles/CoreBundle/src/DependencyInjection/Configuration.php b/bundles/CoreBundle/src/DependencyInjection/Configuration.php index 016230e0e01..10f1b7ff1c6 100644 --- a/bundles/CoreBundle/src/DependencyInjection/Configuration.php +++ b/bundles/CoreBundle/src/DependencyInjection/Configuration.php @@ -138,8 +138,6 @@ public function getConfigTreeBuilder(): TreeBuilder 'perspectives' => PIMCORE_CONFIGURATION_DIRECTORY . '/perspectives', 'custom_views' => PIMCORE_CONFIGURATION_DIRECTORY . '/custom_views', 'object_custom_layouts' => PIMCORE_CONFIGURATION_DIRECTORY . '/object_custom_layouts', - 'system_settings' => PIMCORE_CONFIGURATION_DIRECTORY . '/system_settings', - 'select_options' => PIMCORE_CONFIGURATION_DIRECTORY . '/select_options', ]); ConfigurationHelper::addConfigLocationTargetNode( @@ -149,6 +147,13 @@ public function getConfigTreeBuilder(): TreeBuilder [LocationAwareConfigRepository::READ_TARGET] ); + ConfigurationHelper::addConfigLocationTargetNode( + $storageNode, + 'select_options', + PIMCORE_CONFIGURATION_DIRECTORY . '/select_options', + [LocationAwareConfigRepository::READ_TARGET] + ); + return $treeBuilder; }