You are here

public function RoleAccessConsumer::getSupportedEntityTypes in Role Access Control 8

Retrieve the entity types for which access is controlled.

The function returns a list of entity types for which the module providing this plugin controlls access to based on Role Access Control.

Return value

array An array of entity type ids.

Overrides RoleAccessConsumerInterface::getSupportedEntityTypes

See also

_rac_get_supported_entity_types()

3 methods override RoleAccessConsumer::getSupportedEntityTypes()
FieldCollectionAccessRoleAccessConsumer::getSupportedEntityTypes in contrib/rac_fca/src/Plugin/rac/RoleAccessConsumer/FieldCollectionAccessRoleAccessConsumer.php
Retrieve the entity types for which access is controlled.
NodeRoleAccessConsumer::getSupportedEntityTypes in contrib/rac_na/src/Plugin/rac/RoleAccessConsumer/NodeRoleAccessConsumer.php
Retrieve the entity types for which access is controlled.
ParagraphsAccessRoleAccessConsumer::getSupportedEntityTypes in contrib/rac_pa/src/Plugin/rac/RoleAccessConsumer/ParagraphsAccessRoleAccessConsumer.php
Retrieve the entity types for which access is controlled.

File

src/RoleAccessConsumer.php, line 49

Class

RoleAccessConsumer
Defines AccessProvider Anotation object.

Namespace

Drupal\rac

Code

public function getSupportedEntityTypes() {
  return [];
}