SyncNormalizerDecoratorManager.php in Content Synchronization 8.2
File
src/Plugin/SyncNormalizerDecoratorManager.php
View source
<?php
namespace Drupal\content_sync\Plugin;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
class SyncNormalizerDecoratorManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/SyncNormalizerDecorator', $namespaces, $module_handler, 'Drupal\\content_sync\\Plugin\\SyncNormalizerDecoratorInterface', 'Drupal\\content_sync\\Annotation\\SyncNormalizerDecorator');
$this
->alterInfo('content_sync_sync_normalizer_decorator_info');
$this
->setCacheBackend($cache_backend, 'content_sync_sync_normalizer_decorator_plugins');
}
}