You are here

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

Interact with onViewRenderArray event.

Return value

array Subscribed events.

Overrides MainContentViewSubscriber::getSubscribedEvents

File

src/EventSubscriber/View/RemovePageThemeWrapperSubscriber.php, line 22

Class

RemovePageThemeWrapperSubscriber
Subscriber to Remove Page Theme Wrapper.

Namespace

Drupal\acquia_contenthub\EventSubscriber\View

Code

public static function getSubscribedEvents() {
  $events = [];
  $events[KernelEvents::VIEW][] = [
    'onViewRenderArray',
    10,
  ];
  return $events;
}