public static function ReplicateFieldSubscriber::getSubscribedEvents in Bricks 8
Same name and namespace in other branches
- 2.x src/EventSubscriber/ReplicateFieldSubscriber.php \Drupal\bricks\EventSubscriber\ReplicateFieldSubscriber::getSubscribedEvents()
Overrides ReplicateFieldSubscriber::getSubscribedEvents
File
- src/
EventSubscriber/ ReplicateFieldSubscriber.php, line 16
Class
- ReplicateFieldSubscriber
- Event subscriber that handles cloning through the Replicate module.
Namespace
Drupal\bricks\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ReplicatorEvents::replicateEntityField('bricks_revisioned')][] = 'onClone';
return $events;
}