mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Added anezi/locale-extension recipe.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
parameters:
|
||||
managed_locales: ['fr', 'en'] # Edit here for your needs.
|
||||
|
||||
services:
|
||||
anezi_twig.locale_extension:
|
||||
class: Anezi\Locale\Twig\Extension\LocaleExtension
|
||||
public: false
|
||||
arguments: ["%managed_locales%"]
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user