You are here

final class EntityCloneEvents in Entity Clone 8

Contains all events thrown by entity clone.

Hierarchy

Expanded class hierarchy of EntityCloneEvents

1 file declares its use of EntityCloneEvents
EntityCloneForm.php in src/Form/EntityCloneForm.php

File

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

Namesort descending Modifiers Type Description Overrides
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.