function PreImportEvent::__construct
Constructs a PreImportEvent object.
Parameters
\Drupal\Core\DefaultContent\Finder $finder: The content finder, which has information on the entities to create in the necessary dependency order.
\Drupal\Core\DefaultContent\Existing $existing: What the importer will do when importing an entity that already exists.
File
-
core/
lib/ Drupal/ Core/ DefaultContent/ PreImportEvent.php, line 35
Class
- PreImportEvent
- Event dispatched before default content is imported.
Namespace
Drupal\Core\DefaultContentCode
public function __construct(Finder $finder, Existing $existing) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.