ConfigNormalizerManager.php in Configuration Normalizer 8
File
src/Plugin/ConfigNormalizerManager.php
View source
<?php
namespace Drupal\config_normalizer\Plugin;
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
class ConfigNormalizerManager extends DefaultPluginManager {
use DependencySerializationTrait;
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/ConfigNormalizer', $namespaces, $module_handler, 'Drupal\\config_normalizer\\Plugin\\ConfigNormalizerInterface', 'Drupal\\config_normalizer\\Annotation\\ConfigNormalizer');
$this
->alterInfo('config_normalizer_normalizer_info');
$this
->setCacheBackend($cache_backend, 'config_normalizer_normalizer_plugins');
}
}