You are here

public function EmbedFilterBase::__construct in Media Migration 8

Constructs a new EmbedFilterBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration entity.

\Drupal\media_migration\MediaMigrationUuidOracleInterface $media_uuid_oracle: The media UUID oracle.

\Drupal\entity_embed\EntityEmbedDisplay\EntityEmbedDisplayManager|null $entity_embed_display_manager: The entity embed display plugin manager service, if available.

Overrides PluginBase::__construct

2 calls to EmbedFilterBase::__construct()
ImgTagToEmbedFilter::__construct in src/Plugin/migrate/process/ImgTagToEmbedFilter.php
Constructs a new ImgTagToEmbedFilter object.
MediaWysiwygFilter::__construct in src/Plugin/migrate/process/MediaWysiwygFilter.php
Constructs a new MediaWysiwygFilter instance.
2 methods override EmbedFilterBase::__construct()
ImgTagToEmbedFilter::__construct in src/Plugin/migrate/process/ImgTagToEmbedFilter.php
Constructs a new ImgTagToEmbedFilter object.
MediaWysiwygFilter::__construct in src/Plugin/migrate/process/MediaWysiwygFilter.php
Constructs a new MediaWysiwygFilter instance.

File

src/Plugin/migrate/process/EmbedFilterBase.php, line 53

Class

EmbedFilterBase
Base class for media embed code filter text process plugins.

Namespace

Drupal\media_migration\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, MediaMigrationUuidOracleInterface $media_uuid_oracle, $entity_embed_display_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->migration = $migration;
  $this->mediaUuidOracle = $media_uuid_oracle;
  $this->entityEmbedDisplayPluginManager = $entity_embed_display_manager;
}