class ParamConverterSubscriber
Event subscriber for registering parameter converters with routes.
Hierarchy
- class \Drupal\Core\EventSubscriber\ParamConverterSubscriber implements EventSubscriberInterface
File
- core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 13
Namespace
Drupal\Core\EventSubscriberMembers
Name | Modifiers | Type | Description |
---|---|---|---|
ParamConverterSubscriber::$paramConverterManager | protected | property | The parameter converter manager. |
ParamConverterSubscriber::getSubscribedEvents | static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters | public | function | Applies parameter converters to route parameters. |
ParamConverterSubscriber::__construct | public | function | Constructs a new ParamConverterSubscriber. |
© 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!EventSubscriber!ParamConverterSubscriber.php/class/ParamConverterSubscriber/8.1.x