Drupal 8  8.0.2
FieldUiRouteEnhancer Class Reference
Inheritance diagram for FieldUiRouteEnhancer:

Public Member Functions

 __construct (EntityManagerInterface $entity_manager)
 
 enhance (array $defaults, Request $request)
 
 applies (Route $route)
 

Protected Attributes

 $entityManager
 

Detailed Description

Enhances Field UI routes by adding proper information about the bundle name.

Constructor & Destructor Documentation

__construct ( EntityManagerInterface  $entity_manager)

Constructs a FieldUiRouteEnhancer object.

Parameters
\Drupal\Core\Entity\EntityManagerInterface$entity_managerThe entity manager.

References Drupal\entityManager().

Here is the call graph for this function:

Member Function Documentation

applies ( Route  $route)

{Declares if the route enhancer applies to the given route.

Parameters
\Symfony\Component\Routing\Route$routeThe route to consider attaching to.
Returns
bool TRUE if the check applies to the passed route, False otherwise.
}

Implements RouteEnhancerInterface.

enhance ( array  $defaults,
Request  $request 
)

{}

References Drupal\entityManager().

Here is the call graph for this function:


The documentation for this class was generated from the following file: