You are here

public function MediaMigrateCommands::__construct in Migrate File Entities to Media Entities 8

MediaMigrateCommands constructor.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager:

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

File

src/Commands/MediaMigrateCommands.php, line 64

Class

MediaMigrateCommands
Drush 9 commands for migrate_file_to_media.

Namespace

Drupal\migrate_file_to_media\Commands

Code

public function __construct(EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entity_type_manager, Connection $connection, MigrationPluginManager $migrationPluginManager, StreamWrapperManagerInterface $stream_wrappers, FileSystemInterface $file_system) {
  $this->entityFieldManager = $entityFieldManager;
  $this->entityTypeManager = $entity_type_manager;
  $this->connection = $connection;
  $this->migrationPluginManager = $migrationPluginManager;
  $this->streamWrapperManager = $stream_wrappers;
  $this->fileSystem = $file_system;
}