Description
Usually, you develop your website using one or several custom bundles as this is a best practice. However, dealing with core bundle semantic configuration can be a bit tedious if you maintain it in the main app/config/ezplatform.yml
configuration file.
Solution
This recipe will show you how to import configuration from a bundle the manual way and the implicit way.
The manual way
This is the simplest way of doing and it has the advantage of being explicit. The idea is to use the imports
statement in your main ezplatform.yml
:
The implicit way
The following example will show you how to implicitly load settings to configure eZ Platform kernel. Note that this is also valid for any bundle!
We assume here that you're aware of service container extensions.