Same name in other branches
  1. 2.x src/Event/EntityCloneEvents.php \Drupal\entity_clone\Event\EntityCloneEvents

Contains all events thrown by entity clone.

Hierarchy

Expanded class hierarchy of EntityCloneEvents

2 files declare their use of EntityCloneEvents
EntityCloneForm.php dans src/Form/EntityCloneForm.php
entity_clone.api.php dans ./entity_clone.api.php
Hooks provided by the entity_clone module.

Fichier

src/Event/EntityCloneEvents.php, line 8

Namespace

Drupal\entity_clone\Event
View 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

Titre Trier par ordre décroissant Modifiers Object type Résumé
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.