function MigrateEntityComplete::__construct

Constructs a MigrateEntity object.

Parameters

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

Overrides MigrateEntity::__construct

File

core/modules/migrate/src/Plugin/Derivative/MigrateEntityComplete.php, line 17

Class

MigrateEntityComplete
Deriver for entity_complete:ENTITY_TYPE entity migrations.

Namespace

Drupal\migrate\Plugin\Derivative

Code

public function __construct(array $entity_definitions) {
  @trigger_error(__CLASS__ . '() is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3533565', E_USER_DEPRECATED);
  parent::__construct($entity_definitions);
}

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