ParamConversionEnhancer

Provides a route enhancer that handles parameter conversion.

Hierarchy

File

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

Namespace

Drupal\Core\Routing\Enhancer

Members

Name Modifiers Type Description
ParamConversionEnhancer::$paramConverterManager protected property The parameter conversion manager.
ParamConversionEnhancer::applies public function Declares if the route enhancer applies to the given route. Overrides RouteEnhancerInterface::applies
ParamConversionEnhancer::copyRawVariables protected function Store a backup of the raw values that corresponding to the route pattern.
ParamConversionEnhancer::enhance public function Update the defaults based on its own data and the request. Overrides RouteEnhancerInterface::enhance
ParamConversionEnhancer::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
ParamConversionEnhancer::onException public function Catches failed parameter conversions and throw a 404 instead.
ParamConversionEnhancer::__construct public function Constructs a new ParamConversionEnhancer.
doc_Drupal
2016-10-29 09:33:05
Comments
Leave a Comment

Please login to continue.