Skip to content
Snippets Groups Projects
Select Git revision
  • 8.x-1.x
  • 7.x-1.x
  • 8.x-0.x
  • 8.x-1.6
  • 8.x-1.5
  • 7.x-1.11
  • 8.x-1.4
  • 8.x-1.3
  • 7.x-1.10
  • 8.x-1.2
  • 8.x-1.1
  • 8.x-1.0
  • 8.x-1.0-rc3
  • 8.x-1.0-rc2
  • 8.x-1.0-rc1
  • 8.x-1.0-beta4
  • 8.x-1.0-beta3
  • 8.x-1.0-beta2
  • 7.x-1.9
  • 8.x-1.0-beta1
  • 8.x-1.0-alpha4
  • 8.x-1.0-alpha3
  • 8.x-0.1
23 results

EntityEvents.php

Blame
  • Bojan Zivanovic's avatar
    Issue #3023884 by bojanz: Add a UI for duplicating entities
    Bojan Živanović authored
    753ed892
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    EntityEvents.php 315 B
    <?php
    
    namespace Drupal\entity\Event;
    
    /**
     * Defines events for the Entity module.
     */
    final class EntityEvents {
    
      /**
       * Name of the event fired after saving a duplicated entity.
       *
       * @Event
       *
       * @see \Drupal\entity\Event\EntityDuplicateEvent
       */
      const ENTITY_DUPLICATE = 'entity.duplicate';
    
    }