Warning: You are browsing the documentation from version 4 to 10 of Pimcore.
Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version:
Dependency Injection Tags
Please read the intro of dependency injection tags of Symfony first.
In addition to the tags provided by Symfony, Pimcore adds it's own tags to flag special purpose services.
Following an overview of all additional service tags provided by Pimcore:
Name | Usage |
---|---|
pimcore.templating.vars_provider |
Register a service that adds certain variables to all your view models |
pimcore.session.configurator |
Configure sessions before they are started, useful for registering session bags |
pimcore.templating.helper_broker |
Add a helper broker service to the templating engine. Using templating.helper is more common, and recommended |
pimcore.area.brick |
Used to register your custom area bricks, which are not loaded by the discovering service |