Answer the question
In order to leave comments, you need to log in
How to transfer the configuration from the config of one bundle to another?
So far, I can’t figure out how to transfer the configuration from the config of one bundle to another. Mutually exclusive problems appear through Bundle Extension or PrependExtensionInterface
Answer the question
In order to leave comments, you need to log in
In public function prepend(ContainerBuilder $container) - $container is available - you need to get configs from it $configs = $container->getExtensionConfig($this->getAlias()); and process via $config = $this->processConfiguration(new Configuration(), $configs); Take any values from there and put them anywhere (description in the dock $container->prependExtensionConfig('liip_imagine', $liip_config)).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question