Enhancer to add a wrapping controller for _form routes.
Name | Modifiers | Type | Description |
---|---|---|---|
FormRouteEnhancer::applies | public | function | Declares if the route enhancer applies to the given route. Overrides RouteEnhancerInterface::applies |
FormRouteEnhancer::enhance | public | function | Update the defaults based on its own data and the request. Overrides RouteEnhancerInterface::enhance |
© 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!FormRouteEnhancer.php/class/FormRouteEnhancer/8.1.x