You are here

public static function AlterSinglePageSiteOutput::getSubscribedEvents in Single Page Site 8

Same name and namespace in other branches
  1. 2.x modules/single_page_site_next_page/src/EventSubscriber/AlterSinglePageSiteOutput.php \Drupal\single_page_site_next_page\EventSubscriber\AlterSinglePageSiteOutput::getSubscribedEvents()
  2. 2.0.x modules/single_page_site_next_page/src/EventSubscriber/AlterSinglePageSiteOutput.php \Drupal\single_page_site_next_page\EventSubscriber\AlterSinglePageSiteOutput::getSubscribedEvents()

Function to get Subscribed Events.

@inheritdoc

File

modules/single_page_site_next_page/src/EventSubscriber/AlterSinglePageSiteOutput.php, line 85

Class

AlterSinglePageSiteOutput
Class AlterSinglePageSiteOutput.

Namespace

Drupal\single_page_site_next_page\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    SinglePageSiteEvents::SINGLE_PAGE_SITE_ALTER_OUTPUT => [
      [
        'alterOutput',
      ],
    ],
  ];
}