DefaultContentEvents.php in Default Content for D8 2.0.x
Same filename and directory in other branches
Namespace
Drupal\default_content\EventFile
src/Event/DefaultContentEvents.phpView source
<?php
namespace Drupal\default_content\Event;
/**
* Defines the events for Default Content.
*
* @see \Drupal\default_content\Event\ImportEvent
* @see \Drupal\default_content\Event\ExportEvent
*/
final class DefaultContentEvents {
/**
* Name of the event fired when importing default content.
*
* This event allows modules to perform actions after the default content has
* been imported. The event listener receives a
* \Drupal\default_content\Event\ImportEvent instance.
*
* @Event
*
* @see \Drupal\default_content\Event\ImportEvent
*
* @var string
*/
const IMPORT = 'default_content.import';
/**
* Name of the event fired when exporting default content.
*
* This event allows modules to perform actions after the default content has
* been exported. The event listener receives a
* \Drupal\default_content\Event\ExportEvent instance.
*
* @Event
*
* @see \Drupal\default_content\Event\ExportEvent
*
* @var string
*/
const EXPORT = 'default_content.export';
}
Classes
Name | Description |
---|---|
DefaultContentEvents | Defines the events for Default Content. |