mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-22 10:14:24 +00:00
28 lines
925 B
YAML
28 lines
925 B
YAML
parameters:
|
|
# cl_chill_main.example.class: Chill\MainBundle\Example
|
|
|
|
services:
|
|
chill.main.menu_composer:
|
|
class: Chill\MainBundle\Routing\MenuComposer
|
|
#must be set in function to avoid circular reference with chill.main.twig.chill_menu
|
|
calls:
|
|
- [setContainer, ["@service_container"]]
|
|
|
|
chill.main.twig.chill_menu:
|
|
class: Chill\MainBundle\Routing\MenuTwig
|
|
arguments:
|
|
- "@chill.main.menu_composer"
|
|
calls:
|
|
- [setContainer, ["@service_container"]]
|
|
tags:
|
|
- { name: twig.extension }
|
|
|
|
chill.main.form.type.translatable.string:
|
|
class: Chill\MainBundle\Form\Type\TranslatableStringFormType
|
|
arguments:
|
|
- "%chill_main.available_languages%"
|
|
#- "%framework.translator.fallback%"
|
|
- "%locale%"
|
|
tags:
|
|
- { name: form.type, alias: translatable_string }
|