public static function ReplicateFieldSubscriber::getSubscribedEvents in Entity Reference with Layout 8
File
- src/
EventSubscriber/ ReplicateFieldSubscriber.php, line 52
Class
- ReplicateFieldSubscriber
- Event subscriber that handles cloning through the Replicate module.
Namespace
Drupal\entity_reference_layout\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ReplicatorEvents::replicateEntityField('entity_reference_layout_revisioned')][] = 'onClone';
return $events;
}