public function MigratePrepareRowEvent::__construct in Migrate Plus 8.5
Same name and namespace in other branches
- 8 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::__construct()
- 8.2 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::__construct()
- 8.3 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::__construct()
- 8.4 src/Event/MigratePrepareRowEvent.php \Drupal\migrate_plus\Event\MigratePrepareRowEvent::__construct()
Constructs a prepare-row event object.
Parameters
\Drupal\migrate\Row $row: Row of source data to be analyzed/manipulated.
\Drupal\migrate\Plugin\MigrateSourceInterface $source: Source plugin that is the source of the event.
\Drupal\migrate\Plugin\MigrationInterface $migration: Migration entity.
File
- src/
Event/ MigratePrepareRowEvent.php, line 46
Class
- MigratePrepareRowEvent
- Wraps a prepare-row event for event listeners.
Namespace
Drupal\migrate_plus\EventCode
public function __construct(Row $row, MigrateSourceInterface $source, MigrationInterface $migration) {
$this->row = $row;
$this->source = $source;
$this->migration = $migration;
}