function MigrateEntityRevision::__construct

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/Derivative/MigrateEntityRevision.php \Drupal\migrate\Plugin\Derivative\MigrateEntityRevision::__construct()
  2. 10 core/modules/migrate/src/Plugin/Derivative/MigrateEntityRevision.php \Drupal\migrate\Plugin\Derivative\MigrateEntityRevision::__construct()
  3. 11.x core/modules/migrate/src/Plugin/Derivative/MigrateEntityRevision.php \Drupal\migrate\Plugin\Derivative\MigrateEntityRevision::__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/MigrateEntityRevision.php, line 30

Class

MigrateEntityRevision

Namespace

Drupal\migrate\Plugin\Derivative

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.