You are here

public function AccessControlHierarchyInterface::getEntityValues in Workbench Access 8

Retrieves the access control values from an entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: A Drupal entity, typically a node or a user.

Return value

array An simple array of section ids from the entity being checked.

1 call to AccessControlHierarchyInterface::getEntityValues()
AccessControlHierarchyBase::checkEntityAccess in src/AccessControlHierarchyBase.php
Responds to request for node access.
4 methods override AccessControlHierarchyInterface::getEntityValues()
DerivedAccessControlHierarchy::getEntityValues in tests/modules/workbench_access_test/src/Plugin/AccessControlHierarchy/DerivedAccessControlHierarchy.php
Retrieves the access control values from an entity.
FilterAccess::getEntityValues in tests/modules/workbench_access_filter_test/src/Plugin/AccessControlHierarchy/FilterAccess.php
Retrieves the access control values from an entity.
Menu::getEntityValues in src/Plugin/AccessControlHierarchy/Menu.php
Retrieves the access control values from an entity.
Taxonomy::getEntityValues in src/Plugin/AccessControlHierarchy/Taxonomy.php
Retrieves the access control values from an entity.

File

src/AccessControlHierarchyInterface.php, line 128

Class

AccessControlHierarchyInterface
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public function getEntityValues(EntityInterface $entity);