You are here

public static function ContentHubPageDisplayVariantSubscriber::getSubscribedEvents in Acquia Content Hub 8

File

src/EventSubscriber/ContentHubPageDisplayVariantSubscriber.php, line 49

Class

ContentHubPageDisplayVariantSubscriber
Selects the simple page display variant.

Namespace

Drupal\acquia_contenthub\EventSubscriber

Code

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