You are here

class MigrateImportEvent in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Event/MigrateImportEvent.php \Drupal\migrate\Event\MigrateImportEvent
  2. 10 core/modules/migrate/src/Event/MigrateImportEvent.php \Drupal\migrate\Event\MigrateImportEvent

Wraps a pre- or post-import event for event listeners.

Hierarchy

  • class \Drupal\Component\EventDispatcher\Event extends \Symfony\Component\EventDispatcher\Event

Expanded class hierarchy of MigrateImportEvent

6 files declare their use of MigrateImportEvent
MigrateEventsTest.php in core/modules/migrate/tests/src/Kernel/MigrateEventsTest.php
MigrateExecutable.php in core/modules/migrate/src/MigrateExecutable.php
MigrateImportEventTest.php in core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php
MigrateUpgradeImportBatch.php in core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php
NodeTranslationMigrateSubscriber.php in core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php

... See full list

File

core/modules/migrate/src/Event/MigrateImportEvent.php, line 8

Namespace

Drupal\migrate\Event
View source
class MigrateImportEvent extends EventBase {

}

Members

Namesort descending Modifiers Type Description Overrides
EventBase::$message protected property The current message service.
EventBase::$migration protected property The migration.
EventBase::getMigration public function Gets the migration.
EventBase::logMessage public function Logs a message using the Migrate message service.
EventBase::__construct public function Constructs a Migrate event object. 1