Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigratePreRowSaveEvent.php

function 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

2 calls to MigratePreRowSaveEvent::__construct()
MigratePostRowSaveEvent::__construct in core/modules/migrate/src/Event/MigratePostRowSaveEvent.php
Constructs a post-save event object.
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\Event

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal