function ParamConverterManagerInterface::setRouteParameterConverters

Same name in other branches
  1. 9 core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php \Drupal\Core\ParamConverter\ParamConverterManagerInterface::setRouteParameterConverters()
  2. 8.9.x core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php \Drupal\Core\ParamConverter\ParamConverterManagerInterface::setRouteParameterConverters()
  3. 10 core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php \Drupal\Core\ParamConverter\ParamConverterManagerInterface::setRouteParameterConverters()

Saves a list of applicable converters to each route.

Parameters

\Symfony\Component\Routing\RouteCollection $routes: A collection of routes to apply converters to.

1 method overrides ParamConverterManagerInterface::setRouteParameterConverters()
ParamConverterManager::setRouteParameterConverters in core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php
Saves a list of applicable converters to each route.

File

core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php, line 44

Class

ParamConverterManagerInterface
Provides an interface for a parameter converter manager.

Namespace

Drupal\Core\ParamConverter

Code

public function setRouteParameterConverters(RouteCollection $routes);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.