class MigrateEntityComplete in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Plugin/Derivative/MigrateEntityComplete.php \Drupal\migrate\Plugin\Derivative\MigrateEntityComplete
MigrateEntityComplete deriver.
Hierarchy
- class \Drupal\migrate\Plugin\Derivative\MigrateEntity implements ContainerDeriverInterface
- class \Drupal\migrate\Plugin\Derivative\MigrateEntityComplete
Expanded class hierarchy of MigrateEntityComplete
File
- core/
modules/ migrate/ src/ Plugin/ Derivative/ MigrateEntityComplete.php, line 10
Namespace
Drupal\migrate\Plugin\DerivativeView source
class MigrateEntityComplete extends MigrateEntity {
/**
* {@inheritdoc}
*/
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateEntity:: |
protected | property | List of derivative definitions. | |
MigrateEntity:: |
protected | property | The entity definitions | |
MigrateEntity:: |
public static | function |
Creates a new class instance. Overrides ContainerDeriverInterface:: |
|
MigrateEntity:: |
public | function |
Gets the definition of a derivative plugin. Overrides DeriverInterface:: |
|
MigrateEntity:: |
public | function | Constructs a MigrateEntity object. | |
MigrateEntityComplete:: |
public | function |
Gets the definition of all derivatives of a base plugin. Overrides MigrateEntity:: |