You are here

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

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

File

src/EventSubscriber/SearchSubscriber.php, line 52

Class

SearchSubscriber
Extends Solarium plugin: authenticate, etc.

Namespace

Drupal\acquia_search\EventSubscriber

Code

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