You are here

public function EntityTranslationUnifiedFormModePluginManager::__construct in Entity Translation Unified Form 8

Constructs a EntityTranslationUnifiedFormModePluginManager object.

Overrides DefaultPluginManager::__construct

File

src/EntityTranslationUnifiedFormModePluginManager.php, line 15

Class

EntityTranslationUnifiedFormModePluginManager

Namespace

Drupal\entity_translation_unified_form

Code

public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
  parent::__construct('Plugin/EntityTranslationUnifiedFormMode', $namespaces, $module_handler, 'Drupal\\entity_translation_unified_form\\EntityTranslationUnifiedFormModeInterface', 'Drupal\\entity_translation_unified_form\\Annotation\\EntityTranslationUnifiedFormMode');
  $this
    ->setCacheBackend($cache_backend, 'entity_translation_unified_form_plugins');
}