1. 8.5.x core/modules/migrate/src/Event/MigrateEvents.php MigrateEvents::PRE_IMPORT
  2. 8.0.x core/modules/migrate/src/Event/MigrateEvents.php MigrateEvents::PRE_IMPORT
  3. 8.1.x core/modules/migrate/src/Event/MigrateEvents.php MigrateEvents::PRE_IMPORT
  4. 8.2.x core/modules/migrate/src/Event/MigrateEvents.php MigrateEvents::PRE_IMPORT
  5. 8.3.x core/modules/migrate/src/Event/MigrateEvents.php MigrateEvents::PRE_IMPORT
  6. 8.4.x core/modules/migrate/src/Event/MigrateEvents.php MigrateEvents::PRE_IMPORT
  7. 8.6.x core/modules/migrate/src/Event/MigrateEvents.php MigrateEvents::PRE_IMPORT

Name of the event fired when beginning a migration import operation.

This event allows modules to perform an action whenever a migration import operation is about to begin. The event listener method receives a \Drupal\migrate\Event\MigrateImportEvent instance.

See also

\Drupal\migrate\Event\MigrateImportEvent

Related topics

File

core/modules/migrate/src/Event/MigrateEvents.php, line 62

Class

MigrateEvents
Defines events for the migration system.

Namespace

Drupal\migrate\Event

Code

const PRE_IMPORT = 'migrate.pre_import';