public function MigrateEntityRevision::__construct in Drupal 9
Same name and namespace in other branches
- 8 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
Namespace
Drupal\migrate\Plugin\DerivativeCode
public function __construct(array $entity_definitions) {
$this->entityDefinitions = $entity_definitions;
}