You are here

public function MigratePreRowSaveEvent::getMigration in Zircon Profile 8

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

Gets the migration entity.

Return value

\Drupal\migrate\Entity\MigrationInterface The migration entity being imported.

File

core/modules/migrate/src/Event/MigratePreRowSaveEvent.php, line 50
Contains \Drupal\migrate\Event\MigratePreRowSaveEvent.

Class

MigratePreRowSaveEvent
Wraps a pre-save event for event listeners.

Namespace

Drupal\migrate\Event

Code

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