public function load(array $configs, ContainerBuilder $container)
    {
        $loader = new Loader\YamlFileLoader(
            $container,
            new FileLocator(__DIR__ . '/../Resources/config')
        );

        $loader->load('parameters.yml');
        $loader->load('menu_plugins.yml');
        $loader->load('templating.yml');
        $loader->load('controllers.yml');
        $loader->load('services.yml');

        $activatedBundles = $container->getParameter('kernel.bundles');

        if (!array_key_exists('EzCoreExtraBundle', $activatedBundles)) {
            throw new RuntimeException('Netgen Admin UI Bundle requires EzCoreExtraBundle (lolautruche/ez-core-extra-bundle) to be activated to work properly.');
        }

        if ($this->hasTags($activatedBundles)) {
            $loader->load('tags/services.yml');
        }

        if ($this->hasLayouts($activatedBundles)) {
            $loader->load('layouts/controllers.yml');
            $loader->load('layouts/services.yml');
            $this->setIsLayoutsEnterprise($container, $activatedBundles);
        }

        if ($this->hasInformationCollection($activatedBundles)) {
            $loader->load('information_collection/services.yml');
        }

        $logoType = $container->getParameter('netgen_admin_ui.logo_type');
        if ($logoType === 'default') {
            if (class_exists('Netgen\Bundle\SiteBundle\NetgenSiteBundle') || class_exists('Netgen\Bundle\MoreBundle\NetgenMoreBundle')) {
                $container->setParameter('netgen_admin_ui.logo_type', 'ngadminui');
            }
        }
    }
public function load(array $configs, ContainerBuilder $container)
    {
        $loader = new Loader\YamlFileLoader(
            $container,
            new FileLocator(__DIR__ . '/../Resources/config')
        );

        $loader->load('parameters.yml');
        $loader->load('menu_plugins.yml');
        $loader->load('templating.yml');
        $loader->load('controllers.yml');
        $loader->load('services.yml');

        $activatedBundles = $container->getParameter('kernel.bundles');

        if (!array_key_exists('EzCoreExtraBundle', $activatedBundles)) {
            throw new RuntimeException('Netgen Admin UI Bundle requires EzCoreExtraBundle (lolautruche/ez-core-extra-bundle) to be activated to work properly.');
        }

        if ($this->hasTags($activatedBundles)) {
            $loader->load('tags/services.yml');
        }

        if ($this->hasLayouts($activatedBundles)) {
            $loader->load('layouts/controllers.yml');
            $loader->load('layouts/services.yml');
            $this->setIsLayoutsEnterprise($container, $activatedBundles);
        }

        if ($this->hasInformationCollection($activatedBundles)) {
            $loader->load('information_collection/services.yml');
        }

        $logoType = $container->getParameter('netgen_admin_ui.logo_type');
        if ($logoType === 'default') {
            if (class_exists('Netgen\Bundle\SiteBundle\NetgenSiteBundle') || class_exists('Netgen\Bundle\MoreBundle\NetgenMoreBundle')) {
                $container->setParameter('netgen_admin_ui.logo_type', 'ngadminui');
            }
        }
    }
{@inheritdoc}