function MigrateRollbackEvent::getMigration
Same name in other branches
- 9 core/modules/migrate/src/Event/MigrateRollbackEvent.php \Drupal\migrate\Event\MigrateRollbackEvent::getMigration()
- 8.9.x core/modules/migrate/src/Event/MigrateRollbackEvent.php \Drupal\migrate\Event\MigrateRollbackEvent::getMigration()
- 11.x core/modules/migrate/src/Event/MigrateRollbackEvent.php \Drupal\migrate\Event\MigrateRollbackEvent::getMigration()
Gets the migration entity.
Return value
\Drupal\migrate\Plugin\MigrationInterface The migration entity involved.
File
-
core/
modules/ migrate/ src/ Event/ MigrateRollbackEvent.php, line 36
Class
- MigrateRollbackEvent
- Wraps a pre- or post-rollback event for event listeners.
Namespace
Drupal\migrate\EventCode
public function getMigration() {
return $this->migration;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.