Same name in other branches
- 8.x-1.x entity_clone.api.php \MyEntityCloneEventSubscriber::getSubscribedEvents()
File
-
./
entity_clone.api.php, line 65
Class
- MyEntityCloneEventSubscriber
- Event subscribers for Entity Clone.
Code
public static function getSubscribedEvents() : array {
$events[EntityCloneEvents::PRE_CLONE][] = [
'myPreClone',
];
$events[EntityCloneEvents::POST_CLONE][] = [
'myPostClone',
];
return $events;
}