final class TomeSyncEvents in Tome 8
Defines events for Tome Sync.
Hierarchy
- class \Drupal\tome_sync\Event\TomeSyncEvents
Expanded class hierarchy of TomeSyncEvents
6 files declare their use of TomeSyncEvents
- BookEventSubscriber.php in modules/
tome_sync/ src/ EventSubscriber/ BookEventSubscriber.php - ContentHasherEventSubscriber.php in modules/
tome_sync/ src/ EventSubscriber/ ContentHasherEventSubscriber.php - ExportCommand.php in modules/
tome_sync/ src/ Commands/ ExportCommand.php - Exporter.php in modules/
tome_sync/ src/ Exporter.php - ImportCompleteCommand.php in modules/
tome_sync/ src/ Commands/ ImportCompleteCommand.php
File
- modules/
tome_sync/ src/ Event/ TomeSyncEvents.php, line 8
Namespace
Drupal\tome_sync\EventView source
final class TomeSyncEvents {
/**
* Name of the event fired after a single content entity is exported.
*
* @Event
*
* @see \Drupal\tome_sync\Event\ContentCrudEvent
*
* @var string
*/
const EXPORT_CONTENT = 'tome_sync.export_content';
/**
* Name of the event fired after a single content entity is deleted.
*
* @Event
*
* @see \Drupal\tome_sync\Event\ContentCrudEvent
*
* @var string
*/
const DELETE_CONTENT = 'tome_sync.delete_content';
/**
* Name of the event fired after a single content entity is imported.
*
* @Event
*
* @see \Drupal\tome_sync\Event\ContentCrudEvent
*
* @var string
*/
const IMPORT_CONTENT = 'tome_sync.import_content';
/**
* Name of the event fired after the entire export process is complete.
*
* @Event
*
* @see \Symfony\Component\EventDispatcher\Event
*
* @var string
*/
const EXPORT_ALL = 'tome_sync.export_all';
/**
* Name of the event fired after the entire import process is complete.
*
* @Event
*
* @see \Symfony\Component\EventDispatcher\Event
*
* @var string
*/
const IMPORT_ALL = 'tome_sync.import_all';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TomeSyncEvents:: |
constant | Name of the event fired after a single content entity is deleted. | ||
TomeSyncEvents:: |
constant | Name of the event fired after the entire export process is complete. | ||
TomeSyncEvents:: |
constant | Name of the event fired after a single content entity is exported. | ||
TomeSyncEvents:: |
constant | Name of the event fired after the entire import process is complete. | ||
TomeSyncEvents:: |
constant | Name of the event fired after a single content entity is imported. |