ParamConverterManagerInterface::convert

public ParamConverterManagerInterface::convert(array $defaults)

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.

File

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

Class

ParamConverterManagerInterface
Provides an interface for a parameter converter manager.

Namespace

Drupal\Core\ParamConverter

Code

public function convert(array $defaults);
doc_Drupal
2016-10-29 09:33:09
Comments
Leave a Comment

Please login to continue.