mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Add recipe for sonata-project/translation-bundle
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
sonata_admin:
|
||||
assets:
|
||||
extra_stylesheets:
|
||||
- bundles/sonatatranslation/css/sonata-translation.css
|
||||
|
||||
sonata_block:
|
||||
blocks:
|
||||
sonata_translation.block.locale_switcher: ~
|
||||
|
||||
sonata_translation:
|
||||
locales: ['en']
|
||||
default_locale: 'en'
|
||||
#gedmo:
|
||||
# enabled: true
|
||||
#knplabs:
|
||||
# enabled: true
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Sonata\\TranslationBundle\\SonataTranslationBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user