Added anezi/locale-extension recipe.

This commit is contained in:
Hassan Amouhzi
2018-08-19 00:49:12 +02:00
parent 15e40f27cd
commit 9d8143ee1f
2 changed files with 15 additions and 0 deletions
@@ -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 }
+5
View File
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}