You are here

public function EventBase::getMigration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Event/EventBase.php \Drupal\migrate\Event\EventBase::getMigration()
  2. 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

EventBase

Namespace

Drupal\migrate\Event

Code

public function getMigration() {
  return $this->migration;
}