You are here

public function MigratePreRowSaveEvent::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Event/MigratePreRowSaveEvent.php \Drupal\migrate\Event\MigratePreRowSaveEvent::__construct()

Constructs a pre-save event object.

Parameters

\Drupal\migrate\Entity\MigrationInterface $migration: Migration entity.

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 39
Contains \Drupal\migrate\Event\MigratePreRowSaveEvent.

Class

MigratePreRowSaveEvent
Wraps a pre-save event for event listeners.

Namespace

Drupal\migrate\Event

Code

public function __construct(MigrationInterface $migration, Row $row) {
  $this->migration = $migration;
  $this->row = $row;
}