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

Breadcrumb

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

interface ImportAwareInterface

Interface for plugins that react to pre- or post-import events.

Hierarchy

  • interface \Drupal\migrate\Event\ImportAwareInterface

Expanded class hierarchy of ImportAwareInterface

All classes that implement ImportAwareInterface

1 file declares its use of ImportAwareInterface
PluginEventSubscriber.php in core/modules/migrate/src/Plugin/PluginEventSubscriber.php

File

core/modules/migrate/src/Event/ImportAwareInterface.php, line 8

Namespace

Drupal\migrate\Event
View source
interface ImportAwareInterface {
    
    /**
     * Performs pre-import tasks.
     *
     * @param \Drupal\migrate\Event\MigrateImportEvent $event
     *   The pre-import event object.
     */
    public function preImport(MigrateImportEvent $event);
    
    /**
     * Performs post-import tasks.
     *
     * @param \Drupal\migrate\Event\MigrateImportEvent $event
     *   The post-import event object.
     */
    public function postImport(MigrateImportEvent $event);

}

Members

Title Sort descending Modifiers Object type Summary
ImportAwareInterface::postImport public function Performs post-import tasks.
ImportAwareInterface::preImport public function Performs pre-import tasks.

API Navigation

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