interface RouteEnhancerInterface in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony-cmf/routing/Enhancer/RouteEnhancerInterface.php \Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface
- 8 core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface
A route enhance service to determine route enhance rules.
Hierarchy
- interface \Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface
- interface \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface
Expanded class hierarchy of RouteEnhancerInterface
All classes that implement RouteEnhancerInterface
3 files declare their use of RouteEnhancerInterface
- EntityRouteEnhancer.php in core/
lib/ Drupal/ Core/ Entity/ Enhancer/ EntityRouteEnhancer.php - Contains \Drupal\Core\Entity\Enhancer\EntityRouteEnhancer.
- FieldUiRouteEnhancer.php in core/
modules/ field_ui/ src/ Routing/ FieldUiRouteEnhancer.php - Contains \Drupal\field_ui\Routing\FieldUiRouteEnhancer.
- LazyRouteEnhancer.php in core/
lib/ Drupal/ Core/ Routing/ LazyRouteEnhancer.php - Contains \Drupal\Core\Routing\LazyRouteEnhancer.
File
- core/
lib/ Drupal/ Core/ Routing/ Enhancer/ RouteEnhancerInterface.php, line 16 - Contains \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface.
Namespace
Drupal\Core\Routing\EnhancerView source
interface RouteEnhancerInterface extends BaseRouteEnhancerInterface {
/**
* Declares if the route enhancer applies to the given route.
*
* @param \Symfony\Component\Routing\Route $route
* The route to consider attaching to.
*
* @return bool
* TRUE if the check applies to the passed route, False otherwise.
*/
public function applies(Route $route);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RouteEnhancerInterface:: |
public | function | Declares if the route enhancer applies to the given route. | 4 |
RouteEnhancerInterface:: |
public | function | Update the defaults based on its own data and the request. | 9 |