W3cubDocs

/Drupal 8

interface RouteEnhancerInterface

A route enhance service to determine route enhance rules.

Hierarchy

File

core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php, line 11

Namespace

Drupal\Core\Routing\Enhancer

Members

Name Modifiers Type Description
RouteEnhancerInterface::applies public function Declares if the route enhancer applies to the given route.
RouteEnhancerInterface::enhance public function Update the defaults based on its own data and the request.

© 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!RouteEnhancerInterface.php/interface/RouteEnhancerInterface/8.1.x