function EventBase::getMigration

Same name 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()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.