Chris@0: row = $row; Chris@0: $this->source = $source; Chris@0: $this->migration = $migration; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Gets the row object. Chris@0: * Chris@0: * @return \Drupal\migrate\Row Chris@0: * The row object about to be imported. Chris@0: */ Chris@0: public function getRow() { Chris@0: return $this->row; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Gets the source plugin. Chris@0: * Chris@0: * @return \Drupal\migrate\Plugin\MigrateSourceInterface $source Chris@0: * The source plugin firing the event. Chris@0: */ Chris@0: public function getSource() { Chris@0: return $this->source; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Gets the migration plugin. Chris@0: * Chris@0: * @return \Drupal\migrate\Plugin\MigrationInterface Chris@0: * The migration entity being imported. Chris@0: */ Chris@0: public function getMigration() { Chris@0: return $this->migration; Chris@0: } Chris@0: Chris@0: }