ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters

public ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters(RouteBuildEvent $event)

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\EventSubscriber

Code

public function onRoutingRouteAlterSetParameterConverters(RouteBuildEvent $event) {
  $this->paramConverterManager->setRouteParameterConverters($event->getRouteCollection());
}
doc_Drupal
2016-10-29 09:33:11
Comments
Leave a Comment

Please login to continue.