function 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.