You are here

public function MigratePluginAlterer::__construct in Media Migration 8

Constructs a MigratePluginAlterer object.

Parameters

\Drupal\media_migration\MediaWysiwygPluginManager $plugin_manager_media_wysiwyg: The Media WYSIWYG plugin manager.

\Psr\Log\LoggerInterface $logger: The logger.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

src/MigratePluginAlterer.php, line 55

Class

MigratePluginAlterer
Service for performing migration plugin alterations.

Namespace

Drupal\media_migration

Code

public function __construct(MediaWysiwygPluginManager $plugin_manager_media_wysiwyg, LoggerInterface $logger, ModuleHandlerInterface $module_handler) {
  $this->pluginManagerMediaWysiwyg = $plugin_manager_media_wysiwyg;
  $this->logger = $logger;
  $this->moduleHandler = $module_handler;
}