You are here

public static function ActionsPermissionsEventSubscriber::getSubscribedEvents in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.3 modules/actions_permissions/src/EventSubscriber/ActionsPermissionsEventSubscriber.php \Drupal\actions_permissions\EventSubscriber\ActionsPermissionsEventSubscriber::getSubscribedEvents()
  2. 8.2 modules/actions_permissions/src/EventSubscriber/ActionsPermissionsEventSubscriber.php \Drupal\actions_permissions\EventSubscriber\ActionsPermissionsEventSubscriber::getSubscribedEvents()
  3. 4.0.x modules/actions_permissions/src/EventSubscriber/ActionsPermissionsEventSubscriber.php \Drupal\actions_permissions\EventSubscriber\ActionsPermissionsEventSubscriber::getSubscribedEvents()

File

modules/actions_permissions/src/EventSubscriber/ActionsPermissionsEventSubscriber.php, line 23

Class

ActionsPermissionsEventSubscriber
Defines module event subscriber class.

Namespace

Drupal\actions_permissions\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ViewsBulkOperationsActionManager::ALTER_ACTIONS_EVENT][] = [
    'alterActions',
    static::PRIORITY,
  ];
  return $events;
}