mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Adding TranslatableStringFormType.php
This commit is contained in:
@@ -7,7 +7,7 @@ services:
|
||||
#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:
|
||||
@@ -16,3 +16,12 @@ services:
|
||||
- [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 }
|
||||
|
Reference in New Issue
Block a user