class MigrateImportEvent in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/src/Event/MigrateImportEvent.php \Drupal\migrate\Event\MigrateImportEvent
- 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
- class \Drupal\migrate\Event\EventBase
- class \Drupal\migrate\Event\MigrateImportEvent
- class \Drupal\migrate\Event\EventBase
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
File
- core/
modules/ migrate/ src/ Event/ MigrateImportEvent.php, line 8
Namespace
Drupal\migrate\EventView source
class MigrateImportEvent extends EventBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EventBase:: |
protected | property | The current message service. | |
EventBase:: |
protected | property | The migration. | |
EventBase:: |
public | function | Gets the migration. | |
EventBase:: |
public | function | Logs a message using the Migrate message service. | |
EventBase:: |
public | function | Constructs a Migrate event object. | 1 |