You are here

public function AccessControlHierarchyInterface::applies in Workbench Access 8

Check if this access scheme applies to the given entity.

Parameters

string $entity_type_id: Entity type ID.

string $bundle: Bundle ID.

Return value

bool TRUE if this access scheme applies to the entity.

1 call to AccessControlHierarchyInterface::applies()
AccessControlHierarchyBase::checkEntityAccess in src/AccessControlHierarchyBase.php
Responds to request for node access.
4 methods override AccessControlHierarchyInterface::applies()
DerivedAccessControlHierarchy::applies in tests/modules/workbench_access_test/src/Plugin/AccessControlHierarchy/DerivedAccessControlHierarchy.php
Check if this access scheme applies to the given entity.
FilterAccess::applies in tests/modules/workbench_access_filter_test/src/Plugin/AccessControlHierarchy/FilterAccess.php
Check if this access scheme applies to the given entity.
Menu::applies in src/Plugin/AccessControlHierarchy/Menu.php
Check if this access scheme applies to the given entity.
Taxonomy::applies in src/Plugin/AccessControlHierarchy/Taxonomy.php
Check if this access scheme applies to the given entity.

File

src/AccessControlHierarchyInterface.php, line 98

Class

AccessControlHierarchyInterface
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public function applies($entity_type_id, $bundle);