You are here

public static function ReplicateFieldSubscriber::getSubscribedEvents in Bricks​ 8

Same name and namespace in other branches
  1. 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\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ReplicatorEvents::replicateEntityField('bricks_revisioned')][] = 'onClone';
  return $events;
}