function EntityExists::__construct
Same name in other branches
- 8.9.x core/modules/migrate/src/Plugin/migrate/process/EntityExists.php \Drupal\migrate\Plugin\migrate\process\EntityExists::__construct()
- 10 core/modules/migrate/src/Plugin/migrate/process/EntityExists.php \Drupal\migrate\Plugin\migrate\process\EntityExists::__construct()
- 11.x core/modules/migrate/src/Plugin/migrate/process/EntityExists.php \Drupal\migrate\Plugin\migrate\process\EntityExists::__construct()
EntityExists constructor.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin implementation definition.
$storage: The entity storage.
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ process/ EntityExists.php, line 50
Class
- EntityExists
- This plugin checks if a given entity exists.
Namespace
Drupal\migrate\Plugin\migrate\processCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityStorageInterface $storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->storage = $storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.