final class EntityEvents in Entity API 8
Defines events for the Entity module.
Hierarchy
- class \Drupal\entity\Event\EntityEvents
Expanded class hierarchy of EntityEvents
2 files declare their use of EntityEvents
- EntityDuplicateFormTrait.php in src/
Form/ EntityDuplicateFormTrait.php - EntityDuplicateSubscriber.php in src/
EventSubscriber/ EntityDuplicateSubscriber.php
File
- src/
Event/ EntityEvents.php, line 8
Namespace
Drupal\entity\EventView source
final class EntityEvents {
/**
* Name of the event fired after saving a duplicated entity.
*
* @Event
*
* @see \Drupal\entity\Event\EntityDuplicateEvent
*/
const ENTITY_DUPLICATE = 'entity.duplicate';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityEvents:: |
constant | Name of the event fired after saving a duplicated entity. |