ImportAwareInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\migrate\EventFile
core/modules/migrate/src/Event/ImportAwareInterface.phpView source
<?php
namespace Drupal\migrate\Event;
/**
* Interface for plugins that react to pre- or post-import events.
*/
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);
}
Interfaces
Name | Description |
---|---|
ImportAwareInterface | Interface for plugins that react to pre- or post-import events. |