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.
doc_Drupal
2016-10-29 09:07:32
Comments
Leave a Comment

Please login to continue.