public function ParamConverterSubscriber::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php \Drupal\Core\EventSubscriber\ParamConverterSubscriber::__construct()
Constructs a new ParamConverterSubscriber.
Parameters
\Drupal\Core\ParamConverter\ParamConverterManagerInterface $param_converter_manager: The parameter converter manager that will be responsible for upcasting request attributes.
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ ParamConverterSubscriber.php, line 34 - Contains \Drupal\Core\EventSubscriber\ParamConverterSubscriber.
Class
- ParamConverterSubscriber
- Event subscriber for registering parameter converters with routes.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(ParamConverterManagerInterface $param_converter_manager) {
$this->paramConverterManager = $param_converter_manager;
}