function MigrateEntityComplete::getDerivativeDefinitions
Same name in other branches
- 9 core/modules/migrate/src/Plugin/Derivative/MigrateEntityComplete.php \Drupal\migrate\Plugin\Derivative\MigrateEntityComplete::getDerivativeDefinitions()
- 10 core/modules/migrate/src/Plugin/Derivative/MigrateEntityComplete.php \Drupal\migrate\Plugin\Derivative\MigrateEntityComplete::getDerivativeDefinitions()
- 11.x core/modules/migrate/src/Plugin/Derivative/MigrateEntityComplete.php \Drupal\migrate\Plugin\Derivative\MigrateEntityComplete::getDerivativeDefinitions()
Overrides MigrateEntity::getDerivativeDefinitions
File
-
core/
modules/ migrate/ src/ Plugin/ Derivative/ MigrateEntityComplete.php, line 15
Class
- MigrateEntityComplete
- MigrateEntityComplete deriver.
Namespace
Drupal\migrate\Plugin\DerivativeCode
public function getDerivativeDefinitions($base_plugin_definition) {
foreach ($this->entityDefinitions as $entity_type => $entity_info) {
$this->derivatives[$entity_type] = [
'id' => "entity_complete:{$entity_type}",
'class' => EntityContentComplete::class,
'requirements_met' => 1,
'provider' => $entity_info->getProvider(),
];
}
return $this->derivatives;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.