public function ParamConverterManagerInterface::convert in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php \Drupal\Core\ParamConverter\ParamConverterManagerInterface::convert()
Invokes the registered converter for each defined parameter on a route.
Parameters
array $defaults: The route defaults array.
Return value
array The modified defaults.
Throws
\Drupal\Core\ParamConverter\ParamNotConvertedException If one of the assigned converters returned NULL because the given variable could not be converted.
1 method overrides ParamConverterManagerInterface::convert()
- ParamConverterManager::convert in core/
lib/ Drupal/ Core/ ParamConverter/ ParamConverterManager.php - Invokes the registered converter for each defined parameter on a route.
File
- core/
lib/ Drupal/ Core/ ParamConverter/ ParamConverterManagerInterface.php, line 59
Class
- ParamConverterManagerInterface
- Provides an interface for a parameter converter manager.
Namespace
Drupal\Core\ParamConverterCode
public function convert(array $defaults);