public function EventBase::getMigration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::getMigration()
- 9 core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::getMigration()
Gets the migration.
Return value
\Drupal\migrate\Plugin\MigrationInterface The migration being run.
File
- core/
modules/ migrate/ src/ Event/ EventBase.php, line 44
Class
Namespace
Drupal\migrate\EventCode
public function getMigration() {
return $this->migration;
}