function PluginEventSubscriber::preImport
Forwards pre-import events to the source and destination plugins.
Parameters
\Drupal\migrate\Event\MigrateImportEvent $event: The import event.
File
-
core/
modules/ migrate/ src/ Plugin/ PluginEventSubscriber.php, line 47
Class
- PluginEventSubscriber
- Event subscriber to forward Migrate events to source and destination plugins.
Namespace
Drupal\migrate\PluginCode
public function preImport(MigrateImportEvent $event) {
$this->invoke('preImport', $event, ImportAwareInterface::class);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.