You are here

public static function BlockPageDisplayVariantSubscriber::getSubscribedEvents in Context groups 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/BlockPageDisplayVariantSubscriber.php \Drupal\context_groups\EventSubscriber\BlockPageDisplayVariantSubscriber::getSubscribedEvents()

File

src/EventSubscriber/BlockPageDisplayVariantSubscriber.php, line 38

Class

BlockPageDisplayVariantSubscriber
Class BlockPageDisplayVariantSubscriber.

Namespace

Drupal\context_groups\EventSubscriber

Code

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