function ParamConverterSubscriber::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php \Drupal\Core\EventSubscriber\ParamConverterSubscriber::__construct()
- 8.9.x core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php \Drupal\Core\EventSubscriber\ParamConverterSubscriber::__construct()
- 10 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 29
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.