private function handleDefaultSettingsLoading(ContainerBuilder $container, FileLoader $loader)
    {
        $loader->load('default_settings.yml');

        if (!$this->isRichTextBundleEnabled($container)) {
            $loader->load('ezrichtext_default_settings.yml');
        }

        foreach ($this->defaultSettingsCollection as $fileLocation => $files) {
            $externalLoader = new Loader\YamlFileLoader($container, new FileLocator($fileLocation));
            foreach ($files as $file) {
                $externalLoader->load($file);
            }
        }
    }
private function handleDefaultSettingsLoading(ContainerBuilder $container, FileLoader $loader)
    {
        $loader->load('default_settings.yml');

        if (!$this->isRichTextBundleEnabled($container)) {
            $loader->load('ezrichtext_default_settings.yml');
        }

        foreach ($this->defaultSettingsCollection as $fileLocation => $files) {
            $externalLoader = new Loader\YamlFileLoader($container, new FileLocator($fileLocation));
            foreach ($files as $file) {
                $externalLoader->load($file);
            }
        }
    }
private function handleDefaultSettingsLoading ( ContainerBuilder $ container , FileLoader $ loader ) { $ loader -> load ( 'default_settings.yml' ) ; if ( ! $ this -> isRichTextBundleEnabled ( $ container ) ) { $ loader -> load ( 'ezrichtext_default_settings.yml' ) ; } foreach ( $ this -> defaultSettingsCollection as $ fileLocation => $ files ) { $ externalLoader = new Loader \ YamlFileLoader ( $ container , new FileLocator ( $ fileLocation ) ) ; foreach ( $ files as $ file ) { $ externalLoader -> load ( $ file ) ; } } }
Handle default settings.

@param \Symfony\Component\DependencyInjection\ContainerBuilder $container
@param \Symfony\Component\DependencyInjection\Loader\FileLoader $loader

@throws \Exception
Handle default settings .