You are here

public function MigratePrepareRowEvent::getMigration in Migrate Plus 8.4

Same name and namespace in other branches
  1. 8.5 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::getMigration()
  2. 8 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::getMigration()
  3. 8.2 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::getMigration()
  4. 8.3 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::getMigration()

Gets the migration plugin.

Return value

\Drupal\migrate\Plugin\MigrationInterface The migration entity being imported.

File

src/Event/MigratePrepareRowEvent.php, line 78

Class

MigratePrepareRowEvent
Wraps a prepare-row event for event listeners.

Namespace

Drupal\migrate_plus\Event

Code

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