You are here

public function MigrateImportEvent::getMigration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Event/MigrateImportEvent.php \Drupal\migrate\Event\MigrateImportEvent::getMigration()

Gets the migration entity.

Return value

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

File

core/modules/migrate/src/Event/MigrateImportEvent.php, line 41
Contains \Drupal\migrate\Event\MigrateImportEvent.

Class

MigrateImportEvent
Wraps a pre- or post-import event for event listeners.

Namespace

Drupal\migrate\Event

Code

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