ImportAwareInterface.php
Same filename in other branches
Namespace
Drupal\migrate\EventFile
-
core/
modules/ migrate/ src/ Event/ ImportAwareInterface.php
View 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
Title | Deprecated | Summary |
---|---|---|
ImportAwareInterface | Interface for plugins that react to pre- or post-import events. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.