public static function NewRelicRequestSubscriber::getSubscribedEvents in New Relic 8
Same name and namespace in other branches
- 2.x src/EventSubscriber/NewRelicRequestSubscriber.php \Drupal\new_relic_rpm\EventSubscriber\NewRelicRequestSubscriber::getSubscribedEvents()
- 2.0.x src/EventSubscriber/NewRelicRequestSubscriber.php \Drupal\new_relic_rpm\EventSubscriber\NewRelicRequestSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ NewRelicRequestSubscriber.php, line 87
Class
- NewRelicRequestSubscriber
- Request event listener to set transaction name and flag ignore/background.
Namespace
Drupal\new_relic_rpm\EventSubscriberCode
public static function getSubscribedEvents() {
// Run after RouterListener, which has priority 32.
return [
KernelEvents::REQUEST => [
'onRequest',
30,
],
];
}