public function MigrateRowDeleteEvent::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Event/MigrateRowDeleteEvent.php \Drupal\migrate\Event\MigrateRowDeleteEvent::__construct()
Constructs a row deletion event object.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: Migration entity.
array $destination_id_values: Values represent the destination ID.
File
- core/
modules/ migrate/ src/ Event/ MigrateRowDeleteEvent.php, line 35
Class
- MigrateRowDeleteEvent
- Wraps a row deletion event for event listeners.
Namespace
Drupal\migrate\EventCode
public function __construct(MigrationInterface $migration, $destination_id_values) {
$this->migration = $migration;
$this->destinationIdValues = $destination_id_values;
}