You are here

public static function EntityReferenceRevisionsRelationshipSubscriber::getSubscribedEvents in Entity Share 8

Same name and namespace in other branches
  1. 8.3 modules/entity_share_client/src/EventSubscriber/EntityReferenceRevisionsRelationshipSubscriber.php \Drupal\entity_share_client\EventSubscriber\EntityReferenceRevisionsRelationshipSubscriber::getSubscribedEvents()
  2. 8.2 modules/entity_share_client/src/EventSubscriber/EntityReferenceRevisionsRelationshipSubscriber.php \Drupal\entity_share_client\EventSubscriber\EntityReferenceRevisionsRelationshipSubscriber::getSubscribedEvents()

File

modules/entity_share_client/src/EventSubscriber/EntityReferenceRevisionsRelationshipSubscriber.php, line 36

Class

EntityReferenceRevisionsRelationshipSubscriber
Class DynamicEntityReferenceRelationshipSubscriber.

Namespace

Drupal\entity_share_client\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[RelationshipFieldValueEvent::EVENT_NAME] = [
    'alterRelationshipValue',
    100,
  ];
  return $events;
}