You are here

public function D7FileEntityDeriver::__construct in Media Migration 8

D7FileEntityDeriver constructor.

Parameters

\Drupal\media_migration\FileEntityDealerManagerInterface $file_entity_dealer_manager: The file entity dealer plugin manager.

\Drupal\migrate_drupal\FieldDiscoveryInterface $field_discovery: The migration field discovery service.

Overrides D7FileEntityConfigDeriver::__construct

File

src/Plugin/migrate/D7FileEntityDeriver.php, line 65

Class

D7FileEntityDeriver
Deriver for file entity migrations.

Namespace

Drupal\media_migration\Plugin\migrate

Code

public function __construct(FileEntityDealerManagerInterface $file_entity_dealer_manager, FieldDiscoveryInterface $field_discovery) {
  parent::__construct($file_entity_dealer_manager);
  $this->fieldDiscovery = $field_discovery;
}