You are here

public function MigrateRollbackEvent::getMigration in Zircon Profile 8

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

Gets the migration entity.

Return value

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

File

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

Class

MigrateRollbackEvent
Wraps a pre- or post-rollback event for event listeners.

Namespace

Drupal\migrate\Event

Code

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