You are here

public static function RouteParamContext::getSubscribedEvents in Page Manager 8.4

Same name and namespace in other branches
  1. 8 src/EventSubscriber/RouteParamContext.php \Drupal\page_manager\EventSubscriber\RouteParamContext::getSubscribedEvents()

File

src/EventSubscriber/RouteParamContext.php, line 90

Class

RouteParamContext
Sets values from the route parameters as a context.

Namespace

Drupal\page_manager\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[PageManagerEvents::PAGE_CONTEXT][] = 'onPageContext';
  return $events;
}