You are here

public static function ViewsBulkOperationsEventSubscriber::getSubscribedEvents in Search API 8

File

src/Contrib/ViewsBulkOperationsEventSubscriber.php, line 22

Class

ViewsBulkOperationsEventSubscriber
Provides an event subscriber that interfaces with Views Bulk Operations.

Namespace

Drupal\search_api\Contrib

Code

public static function getSubscribedEvents() {
  $events = [];
  if (class_exists(ViewsBulkOperationsEvent::class)) {
    $events[ViewsBulkOperationsEvent::NAME][] = 'provideViewData';
  }
  return $events;
}