function EventBase::__construct
Same name and namespace in other branches
- 11.x core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::__construct()
- 10 core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::__construct()
- 9 core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::__construct()
- 8.9.x core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::__construct()
Constructs a Migrate event object.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration being run.
\Drupal\migrate\MigrateMessageInterface $message: The Migrate message service.
1 call to EventBase::__construct()
- MigratePreRowSaveEvent::__construct in core/
modules/ migrate/ src/ Event/ MigratePreRowSaveEvent.php - Constructs a pre-save event object.
1 method overrides EventBase::__construct()
- MigratePreRowSaveEvent::__construct in core/
modules/ migrate/ src/ Event/ MigratePreRowSaveEvent.php - Constructs a pre-save event object.
File
-
core/
modules/ migrate/ src/ Event/ EventBase.php, line 22
Class
- EventBase
- Base class for migration events.
Namespace
Drupal\migrate\EventCode
public function __construct(protected MigrationInterface $migration, protected MigrateMessageInterface $message) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.