You are here

public function MigrateIdMapMessageEvent::getMigration in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php \Drupal\migrate\Event\MigrateIdMapMessageEvent::getMigration()
  2. 10 core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php \Drupal\migrate\Event\MigrateIdMapMessageEvent::getMigration()

Gets the migration entity.

Return value

\Drupal\migrate\Plugin\MigrationInterface The migration entity involved.

File

core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php, line 66

Class

MigrateIdMapMessageEvent
Wraps an idmap message event for event listeners.

Namespace

Drupal\migrate\Event

Code

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