You are here

public function EventBase::getMigration in Drupal 8

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