interface ImportAwareInterface in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Event/ImportAwareInterface.php \Drupal\migrate\Event\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\EventView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ImportAwareInterface:: |
public | function | Performs post-import tasks. | |
ImportAwareInterface:: |
public | function | Performs pre-import tasks. |