W3cubDocs

/Drupal 8

public function ParamConversionEnhancer::__construct

public ParamConversionEnhancer::__construct(ParamConverterManagerInterface $param_converter_manager)

Constructs a new ParamConversionEnhancer.

Parameters

\Drupal\Core\ParamConverter\ParamConverterManagerInterface $param_converter_manager: The parameter conversion manager.

File

core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 34

Class

ParamConversionEnhancer
Provides a route enhancer that handles parameter conversion.

Namespace

Drupal\Core\Routing\Enhancer

Code

public function __construct(ParamConverterManagerInterface $param_converter_manager) {
  $this->paramConverterManager = $param_converter_manager;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!Enhancer!ParamConversionEnhancer.php/function/ParamConversionEnhancer::__construct/8.1.x