Drupal 8  8.0.2
ContentTranslationOverviewAccess Class Reference
Inheritance diagram for ContentTranslationOverviewAccess:

Public Member Functions

 __construct (EntityManagerInterface $manager)
 
 access (RouteMatchInterface $route_match, AccountInterface $account, $entity_type_id)
 

Protected Attributes

 $entityManager
 

Detailed Description

Access check for entity translation overview.

Constructor & Destructor Documentation

__construct ( EntityManagerInterface  $manager)

Constructs a ContentTranslationOverviewAccess object.

Parameters
\Drupal\Core\Entity\EntityManagerInterface$managerThe entity type manager.

References Drupal\entityManager().

Here is the call graph for this function:

Member Function Documentation

access ( RouteMatchInterface  $route_match,
AccountInterface  $account,
  $entity_type_id 
)

Checks access to the translation overview for the entity and bundle.

Parameters
\Drupal\Core\Routing\RouteMatchInterface$route_matchThe parametrized route.
\Drupal\Core\Session\AccountInterface$accountThe currently logged in account.
string$entity_type_idThe entity type ID.
Returns
The access result.

References AccessResult\allowed(), AccessResult\allowedIfHasPermission(), Drupal\entityManager(), RouteMatchInterface\getParameter(), AccountInterface\hasPermission(), and AccessResult\neutral().

Here is the call graph for this function:


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