You are here

public function MigrateEntity::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/Derivative/MigrateEntity.php \Drupal\migrate\Plugin\Derivative\MigrateEntity::__construct()

Constructs a MigrateEntity object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface[] $entity_definitions: A list of entity definition objects.

File

core/modules/migrate/src/Plugin/Derivative/MigrateEntity.php, line 35
Contains \Drupal\migrate\Plugin\Derivative\MigrateEntity.

Class

MigrateEntity

Namespace

Drupal\migrate\Plugin\Derivative

Code

public function __construct(array $entity_definitions) {
  $this->entityDefinitions = $entity_definitions;
}