Same name in other branches
- 2.x src/Event/EntityCloneEvents.php \Drupal\entity_clone\Event\EntityCloneEvents
Contains all events thrown by entity clone.
Hierarchy
- class \Drupal\entity_clone\Event\EntityCloneEvents
Expanded class hierarchy of EntityCloneEvents
2 files declare their use of EntityCloneEvents
- EntityCloneForm.php in src/
Form/ EntityCloneForm.php - entity_clone.api.php in ./
entity_clone.api.php - Hooks provided by the entity_clone module.
File
-
src/
Event/ EntityCloneEvents.php, line 8
Namespace
Drupal\entity_clone\EventView source
final class EntityCloneEvents {
/**
* The PRE_CLONE event occurs before the entity was cloned.
*
* @var string
*/
const PRE_CLONE = 'entity_clone.pre_clone';
/**
* The POST_CLONE event occurs when an entity has been cloned and saved.
*
* @var string
*/
const POST_CLONE = 'entity_clone.post_clone';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
EntityCloneEvents::POST_CLONE | constant | The POST_CLONE event occurs when an entity has been cloned and saved. | |
EntityCloneEvents::PRE_CLONE | constant | The PRE_CLONE event occurs before the entity was cloned. |