mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Do not use parameters.
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
parameters:
|
|
||||||
managed_locales: ['fr', 'en'] # Edit here for your needs.
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
anezi_twig.locale_extension:
|
anezi_twig.locale_extension:
|
||||||
class: Anezi\Locale\Twig\Extension\LocaleExtension
|
class: Anezi\Locale\Twig\Extension\LocaleExtension
|
||||||
public: false
|
public: false
|
||||||
arguments: ["%managed_locales%"]
|
arguments:
|
||||||
|
$locales: ['fr', 'en'] # Edit here for your needs.
|
||||||
tags:
|
tags:
|
||||||
- { name: twig.extension }
|
- { name: twig.extension }
|
||||||
|
|||||||
Reference in New Issue
Block a user