function EventBase::__construct
Same name in other branches
- 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()
- 10 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 33
Class
Namespace
Drupal\migrate\EventCode
public function __construct(MigrationInterface $migration, MigrateMessageInterface $message) {
$this->migration = $migration;
$this->message = $message;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.