You are here

public static function SearchSubscriber::getSubscribedEvents in Acquia Search 3.x

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/SearchSubscriber.php \Drupal\acquia_search\EventSubscriber\SearchSubscriber::getSubscribedEvents()

File

src/EventSubscriber/SearchSubscriber.php, line 60

Class

SearchSubscriber
Class SearchSubscriber.

Namespace

Drupal\acquia_search\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    Events::PRE_EXECUTE_REQUEST => 'preExecuteRequest',
    Events::POST_EXECUTE_REQUEST => 'postExecuteRequest',
  ];
}