You are here

public static function RemoveEntityFromViewEventSubscriber::getSubscribedEvents in Permissions by Term 8

Same name and namespace in other branches
  1. 8.2 modules/permissions_by_entity/src/EventSubscriber/RemoveEntityFromViewEventSubscriber.php \Drupal\permissions_by_entity\EventSubscriber\RemoveEntityFromViewEventSubscriber::getSubscribedEvents()

File

modules/permissions_by_entity/src/EventSubscriber/RemoveEntityFromViewEventSubscriber.php, line 19

Class

RemoveEntityFromViewEventSubscriber
Class RemoveEntityFromViewEventSubscriber.

Namespace

Drupal\permissions_by_entity\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    PermissionsByEntityEvents::ENTITY_FIELD_VALUE_ACCESS_DENIED_EVENT => [
      'onEntityFieldAccessDenied',
    ],
  ];
}