You are here

public function MediaMigrateUuid::__construct in Media Migration 8

Constructs a MediaMigrateUuid instance.

Parameters

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

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin implementation definition.

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

Overrides PluginBase::__construct

File

src/Plugin/migrate/process/MediaMigrateUuid.php, line 43

Class

MediaMigrateUuid
Returns a UUID of not-yet-migrated and existing media items based on file ID.

Namespace

Drupal\media_migration\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MediaMigrationUuidOracle $media_uuid_oracle) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->mediaUuidOracle = $media_uuid_oracle;
}