public function ParamConverterInterface::process

Allows to convert variables to their corresponding objects.

Parameters

array &$variables: Array of values to convert to their corresponding objects, if applicable.

\Symfony\Component\Routing\Route $route: The route object.

array &$converted: Array collecting the names of all variables which have been altered by a converter.

2 methods override ParamConverterInterface::process()
EntityConverter::process in drupal/core/lib/Drupal/Core/ParamConverter/EntityConverter.php
Tries to upcast every variable to an entity type.
ViewUIConverter::process in drupal/core/modules/views_ui/lib/Drupal/views_ui/ParamConverter/ViewUIConverter.php
Tries to upcast every view entity to a decorated ViewUI object.

File

drupal/core/lib/Drupal/Core/ParamConverter/ParamConverterInterface.php, line 28
Contains Drupal\Core\ParamConverter\ParamConverterInterface.

Class

ParamConverterInterface
Interface for parameter converters.

Namespace

Drupal\Core\ParamConverter

Code

public function process(array &$variables, Route $route, array &$converted);