public static function ParamConversionEnhancer::getSubscribedEvents in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php \Drupal\Core\Routing\Enhancer\ParamConversionEnhancer::getSubscribedEvents()
- 9 core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php \Drupal\Core\Routing\Enhancer\ParamConversionEnhancer::getSubscribedEvents()
File
- core/
lib/ Drupal/ Core/ Routing/ Enhancer/ ParamConversionEnhancer.php, line 89
Class
- ParamConversionEnhancer
- Provides a route enhancer that handles parameter conversion.
Namespace
Drupal\Core\Routing\EnhancerCode
public static function getSubscribedEvents() : array {
$events[KernelEvents::EXCEPTION][] = [
'onException',
75,
];
return $events;
}