public function ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php \Drupal\Core\EventSubscriber\ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters()
Applies parameter converters to route parameters.
Parameters
\Drupal\Core\Routing\RouteBuildEvent $event: The event to process.
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ ParamConverterSubscriber.php, line 39
Class
- ParamConverterSubscriber
- Event subscriber for registering parameter converters with routes.
Namespace
Drupal\Core\EventSubscriberCode
public function onRoutingRouteAlterSetParameterConverters(RouteBuildEvent $event) {
$this->paramConverterManager
->setRouteParameterConverters($event
->getRouteCollection());
}