MigrateRollbackEvent::$migration

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Event/MigrateRollbackEvent.php \Drupal\migrate\Event\MigrateRollbackEvent::migration
  2. 10 core/modules/migrate/src/Event/MigrateRollbackEvent.php \Drupal\migrate\Event\MigrateRollbackEvent::migration
  3. 11.x core/modules/migrate/src/Event/MigrateRollbackEvent.php \Drupal\migrate\Event\MigrateRollbackEvent::migration

Migration entity.

Type: \Drupal\migrate\Plugin\MigrationInterface

File

core/modules/migrate/src/Event/MigrateRollbackEvent.php, line 18

Class

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

Namespace

Drupal\migrate\Event

Code

protected $migration;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.