You are here

public function MigratePrepareRowEvent::getMigration in Migrate Plus 8

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

Gets the migration entity.

Return value

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

File

src/Event/MigratePrepareRowEvent.php, line 85
Contains \Drupal\migrate_plus\Event\MigratePrepareRowEvent.

Class

MigratePrepareRowEvent
Wraps a prepare-row event for event listeners.

Namespace

Drupal\migrate_plus\Event

Code

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