You are here

static function PanelsEverywherePageDisplayVariantSubscriber::getSubscribedEvents in Panels Everywhere 8

Same name and namespace in other branches
  1. 8.4 src/EventSubscriber/PanelsEverywherePageDisplayVariantSubscriber.php \Drupal\panels_everywhere\EventSubscriber\PanelsEverywherePageDisplayVariantSubscriber::getSubscribedEvents()

File

src/EventSubscriber/PanelsEverywherePageDisplayVariantSubscriber.php, line 75

Class

PanelsEverywherePageDisplayVariantSubscriber
Selects the appropriate page display variant from 'site_template'.

Namespace

Drupal\panels_everywhere\EventSubscriber

Code

static function getSubscribedEvents() {
  $events[RenderEvents::SELECT_PAGE_DISPLAY_VARIANT][] = array(
    'onSelectPageDisplayVariant',
  );
  return $events;
}