You are here

public function MigratePrepareRowEvent::getSource in Migrate Plus 8.5

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

Gets the source plugin.

Return value

\Drupal\migrate\Plugin\MigrateSourceInterface The source plugin firing the event.

File

src/Event/MigratePrepareRowEvent.php, line 68

Class

MigratePrepareRowEvent
Wraps a prepare-row event for event listeners.

Namespace

Drupal\migrate_plus\Event

Code

public function getSource() {
  return $this->source;
}