You are here

public function ImportAwareInterface::preImport in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Event/ImportAwareInterface.php \Drupal\migrate\Event\ImportAwareInterface::preImport()
  2. 9 core/modules/migrate/src/Event/ImportAwareInterface.php \Drupal\migrate\Event\ImportAwareInterface::preImport()

Performs pre-import tasks.

Parameters

\Drupal\migrate\Event\MigrateImportEvent $event: The pre-import event object.

File

core/modules/migrate/src/Event/ImportAwareInterface.php, line 16

Class

ImportAwareInterface
Interface for plugins that react to pre- or post-import events.

Namespace

Drupal\migrate\Event

Code

public function preImport(MigrateImportEvent $event);