You are here

public function PluginEventSubscriber::preImport in Drupal 8

Same name and namespace in other branches
  1. 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\Plugin

Code

public function preImport(MigrateImportEvent $event) {
  $this
    ->invoke('preImport', $event, ImportAwareInterface::class);
}