public static function EntityReferenceRevisionsRelationshipSubscriber::getSubscribedEvents in Entity Share 8.3
Same name and namespace in other branches
- 8 modules/entity_share_client/src/EventSubscriber/EntityReferenceRevisionsRelationshipSubscriber.php \Drupal\entity_share_client\EventSubscriber\EntityReferenceRevisionsRelationshipSubscriber::getSubscribedEvents()
- 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 38
Class
- EntityReferenceRevisionsRelationshipSubscriber
- Allows entity reference revisions fields to be supported.
Namespace
Drupal\entity_share_client\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [];
$events[RelationshipFieldValueEvent::EVENT_NAME] = [
'alterRelationshipValue',
100,
];
return $events;
}