public function PluginEventSubscriber::preImport in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Plugin/PluginEventSubscriber.php \Drupal\migrate\Plugin\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);
}