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

Breadcrumb

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

function EventBase::__construct

Constructs a Migrate event object.

Parameters

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration being run.

\Drupal\migrate\MigrateMessageInterface $message: The Migrate message service.

2 calls to EventBase::__construct()
MigratePreRowSaveEvent::__construct in core/modules/migrate/src/Event/MigratePreRowSaveEvent.php
Constructs a pre-save event object.
MigratePreRowSaveEvent::__construct in core/modules/migrate/src/Event/MigratePreRowSaveEvent.php
Constructs a pre-save event object.
1 method overrides EventBase::__construct()
MigratePreRowSaveEvent::__construct in core/modules/migrate/src/Event/MigratePreRowSaveEvent.php
Constructs a pre-save event object.

File

core/modules/migrate/src/Event/EventBase.php, line 33

Class

EventBase

Namespace

Drupal\migrate\Event

Code

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

API Navigation

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