final class DefaultContentEvents in Default Content for D8 8
Same name and namespace in other branches
- 2.0.x src/Event/DefaultContentEvents.php \Drupal\default_content\Event\DefaultContentEvents
Defines the events for Default Content.
Hierarchy
- class \Drupal\default_content\Event\DefaultContentEvents
Expanded class hierarchy of DefaultContentEvents
See also
\Drupal\default_content\Event\ImportEvent
\Drupal\default_content\Event\ExportEvent
2 files declare their use of DefaultContentEvents
- Exporter.php in src/
Exporter.php - Importer.php in src/
Importer.php
File
- src/
Event/ DefaultContentEvents.php, line 11
Namespace
Drupal\default_content\EventView source
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';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultContentEvents:: |
constant | Name of the event fired when exporting default content. | ||
DefaultContentEvents:: |
constant | Name of the event fired when importing default content. |