public function ParamConverterManagerInterface::convert in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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 64 - Contains \Drupal\Core\ParamConverter\ParamConverterManagerInterface.
Class
- ParamConverterManagerInterface
- Provides an interface for a parameter converter manager.
Namespace
Drupal\Core\ParamConverterCode
public function convert(array $defaults);