static function ContentControllerSubscriber::getSubscribedEvents in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/EventSubscriber/ContentControllerSubscriber.php \Drupal\Core\EventSubscriber\ContentControllerSubscriber::getSubscribedEvents()
Registers the methods in this class that should be listeners.
Return value
array An array of event listener definitions.
Overrides EventSubscriberInterface::getSubscribedEvents
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ ContentControllerSubscriber.php, line 42 - Contains \Drupal\Core\EventSubscriber\ContentControllerSubscriber.
Class
- ContentControllerSubscriber
- Sets the request format onto the request object.
Namespace
Drupal\Core\EventSubscriberCode
static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = array(
'onRequestDeriveFormWrapper',
25,
);
return $events;
}