You are here

public function MediaMigrationSubscriber::__construct in Media Migration 8

Constructs a new MediaMigrationSubscriber instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

File

src/EventSubscriber/MediaMigrationSubscriber.php, line 29

Class

MediaMigrationSubscriber
Media migration event subscriber.

Namespace

Drupal\media_migration\EventSubscriber

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}