Download the PHP package lukaschel/pimcore-bundle-configuration without Composer
On this page you can find all versions of the php package lukaschel/pimcore-bundle-configuration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lukaschel/pimcore-bundle-configuration
More information about lukaschel/pimcore-bundle-configuration
Files in lukaschel/pimcore-bundle-configuration
Package pimcore-bundle-configuration
Short Description Individual pimcore bundle configurations for sites and languages
License GPL-3.0-or-later
Informations about the package pimcore-bundle-configuration
PimcoreConfiguration
With this bundle it is possible to deposit individual configurations for each installed Pimcore bundle. Individual for each site and language.
Installation
Enable and install the bundle over the pimcore extension manager or the cli tool.
Just put in your bundle main file (for example: TestBundle.php)
Configuration
Go to the pimcore extension manager you should now get a "Configure" column.
Here you can config the "default" options for the bundle. This config will be located under your bundle resources folder (TestBundle/Resources/config/bundle/bundle.yml)
The Yaml files for the root site and the customs sites will be located under "/var/bundles/PimcoreConfigurationBundle/Bundles/TestBundle/name_language.yml".
In this files only the values will be stored witch are different to the default configurations.
Usage
You can get the configured options by the service:
Now you get the configuration for the current requested site, language and bundle;
When you want to get a specific config you can just put the parameters to the config call
In your template you can just use the twig extension by calling:
Copyright and license
For licensing details please visit LICENSE.md