class EntityRouteEnhancer

Enhances an entity form route with the appropriate controller.

Hierarchy

File

core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php, line 13

Namespace

Drupal\Core\Entity\Enhancer

Members

Name Modifiers Type Description
EntityRouteEnhancer::applies public function Declares if the route enhancer applies to the given route. Overrides RouteEnhancerInterface::applies
EntityRouteEnhancer::enhance public function Update the defaults based on its own data and the request. Overrides RouteEnhancerInterface::enhance
EntityRouteEnhancer::enhanceEntityForm protected function Update defaults for entity forms.
EntityRouteEnhancer::enhanceEntityList protected function Update defaults for an entity list.
EntityRouteEnhancer::enhanceEntityView protected function Update defaults for an entity view.

© 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!Entity!Enhancer!EntityRouteEnhancer.php/class/EntityRouteEnhancer/8.1.x