You are here

public function MigrateRowDeleteEvent::getMigration in Zircon Profile 8

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

Gets the migration entity.

Return value

\Drupal\migrate\Entity\MigrationInterface The migration being rolled back.

File

core/modules/migrate/src/Event/MigrateRowDeleteEvent.php, line 51
Contains \Drupal\migrate\Event\MigrateRowDeleteEvent.

Class

MigrateRowDeleteEvent
Wraps a row deletion event for event listeners.

Namespace

Drupal\migrate\Event

Code

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