public function EventBase::__construct in Drupal 10
Same name and namespace in other branches
- 8 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()
Constructs a Migrate event object.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration being run.
\Drupal\migrate\MigrateMessageInterface $message: The Migrate message service.
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;
}