Same filename and directory in other branches
  1. 8.x-1.x src/Event/EntityCloneEvents.php 1 comment

Namespace

Drupal\entity_clone\Event

File

src/Event/EntityCloneEvents.php

View source
<?php

namespace Drupal\entity_clone\Event;


/**
 * Contains all events thrown by entity clone.
 */
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';

}

Classes

Title Deprecated Summary
EntityCloneEvents Contains all events thrown by entity clone.