You are here

public static function MenuBlockKernelViewSubscriber::getSubscribedEvents in Menu Block 8

File

src/EventSubscriber/MenuBlockKernelViewSubscriber.php, line 65

Class

MenuBlockKernelViewSubscriber
Alters the block library modal.

Namespace

Drupal\menu_block\EventSubscriber

Code

public static function getSubscribedEvents() {

  // Run before main_content_view_subscriber.
  $events[KernelEvents::VIEW][] = [
    'onView',
    1,
  ];
  return $events;
}