mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
check config of available language
check that the configuration is consistent with fallback locale : the fallback locale must be comprised in chill_main.available_languages. +tests refs #332
This commit is contained in:
@@ -5,6 +5,7 @@ namespace Chill\MainBundle;
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Chill\MainBundle\DependencyInjection\SearchableServicesCompilerPass;
|
||||
use Chill\MainBundle\DependencyInjection\ConfigConsistencyCompilerPass;
|
||||
|
||||
class ChillMainBundle extends Bundle
|
||||
{
|
||||
@@ -12,5 +13,6 @@ class ChillMainBundle extends Bundle
|
||||
{
|
||||
parent::build($container);
|
||||
$container->addCompilerPass(new SearchableServicesCompilerPass());
|
||||
$container->addCompilerPass(new ConfigConsistencyCompilerPass());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user