function MigrateRowDeleteEvent::getMigration

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Event/MigrateRowDeleteEvent.php \Drupal\migrate\Event\MigrateRowDeleteEvent::getMigration()
  2. 10 core/modules/migrate/src/Event/MigrateRowDeleteEvent.php \Drupal\migrate\Event\MigrateRowDeleteEvent::getMigration()
  3. 11.x core/modules/migrate/src/Event/MigrateRowDeleteEvent.php \Drupal\migrate\Event\MigrateRowDeleteEvent::getMigration()

Gets the migration entity.

Return value

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

File

core/modules/migrate/src/Event/MigrateRowDeleteEvent.php, line 46

Class

MigrateRowDeleteEvent
Wraps a row deletion event for event listeners.

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.