public function load(array $configs, ContainerBuilder $container)
    {
        $ezLoader = new Loader\YamlFileLoader(
            $container,
            new FileLocator(__DIR__ . '/../../lib/eZ/settings')
        );
        $ezLoader->load('fieldtypes.yml');
        $ezLoader->load('fieldtype_services.yml');
        $ezLoader->load('fieldtype_external_storages.yml');
        $ezLoader->load('indexable_fieldtypes.yml');
        $ezLoader->load('storage_engines/legacy/external_storage_gateways.yml');
        $ezLoader->load('storage_engines/legacy/field_value_converters.yml');

        $loader = new Loader\YamlFileLoader(
            $container,
            new FileLocator(__DIR__ . '/../Resources/config')
        );
        $loader->load('fieldtype_services.yml');
        $loader->load('rest.yml');
        $loader->load('templating.yml');
        $loader->load('form.yml');

        // load Kernel BC layer
        $loader->load('bc/aliases.yml');

        $configuration = $this->getConfiguration($configs, $container);
        $config = $this->processConfiguration($configuration, $configs);
        $this->registerRichTextConfiguration($config, $container);
    }