mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 16:43:48 +00:00
RM en from available_languages close #330 / hide lang menu if only one language installed close #350 / The menu lang is generated from the config
This commit is contained in:
@@ -52,9 +52,9 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface
|
||||
$twigConfig = array(
|
||||
'globals' => array(
|
||||
'installation' => array(
|
||||
'name' => $config['installation_name']
|
||||
),
|
||||
'date_format' => 'd-M-Y'
|
||||
'name' => $config['installation_name']),
|
||||
'date_format' => 'd-M-Y',
|
||||
'available_languages' => $config['available_languages']
|
||||
),
|
||||
'form' => array(
|
||||
'resources' => array('ChillMainBundle:Form:fields.html.twig'))
|
||||
|
Reference in New Issue
Block a user