You are here

public function AccessControlHierarchyInterface::getApplicableFields in Workbench Access 8

Gets applicable fields for given entity type and bundle.

Plugin implementations are responsible for declaring what fields on an entity are used for access control.

Parameters

string $entity_type: Entity type ID.

string $bundle: Bundle ID.

Return value

array Associative array of fields with keys entity_type, bundle and field.

1 method overrides AccessControlHierarchyInterface::getApplicableFields()
AccessControlHierarchyBase::getApplicableFields in src/AccessControlHierarchyBase.php
@inheritdoc

File

src/AccessControlHierarchyInterface.php, line 173

Class

AccessControlHierarchyInterface
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public function getApplicableFields($entity_type, $bundle);