function MigratePreRowSaveEvent::__construct
Same name in other branches
- 9 core/modules/migrate/src/Event/MigratePreRowSaveEvent.php \Drupal\migrate\Event\MigratePreRowSaveEvent::__construct()
- 8.9.x core/modules/migrate/src/Event/MigratePreRowSaveEvent.php \Drupal\migrate\Event\MigratePreRowSaveEvent::__construct()
- 10 core/modules/migrate/src/Event/MigratePreRowSaveEvent.php \Drupal\migrate\Event\MigratePreRowSaveEvent::__construct()
Constructs a pre-save event object.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: Migration entity.
\Drupal\migrate\MigrateMessageInterface $message: The current migrate message service.
\Drupal\migrate\Row $row: The current row.
Overrides EventBase::__construct
1 call to MigratePreRowSaveEvent::__construct()
- MigratePostRowSaveEvent::__construct in core/
modules/ migrate/ src/ Event/ MigratePostRowSaveEvent.php - Constructs a post-save event object.
1 method overrides MigratePreRowSaveEvent::__construct()
- MigratePostRowSaveEvent::__construct in core/
modules/ migrate/ src/ Event/ MigratePostRowSaveEvent.php - Constructs a post-save event object.
File
-
core/
modules/ migrate/ src/ Event/ MigratePreRowSaveEvent.php, line 31
Class
- MigratePreRowSaveEvent
- Wraps a pre-save event for event listeners.
Namespace
Drupal\migrate\EventCode
public function __construct(MigrationInterface $migration, MigrateMessageInterface $message, Row $row) {
parent::__construct($migration, $message);
$this->row = $row;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.