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

Breadcrumb

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

function PluginEventSubscriber::preImport

Forwards pre-import events to the source and destination plugins.

Parameters

\Drupal\migrate\Event\MigrateImportEvent $event: The import event.

File

core/modules/migrate/src/Plugin/PluginEventSubscriber.php, line 47

Class

PluginEventSubscriber
Event subscriber to forward Migrate events to source and destination plugins.

Namespace

Drupal\migrate\Plugin

Code

public function preImport(MigrateImportEvent $event) {
    $this->invoke('preImport', $event, ImportAwareInterface::class);
}

API Navigation

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