You are here

public function FieldCollectionAccessRoleAccessConsumer::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 RoleAccessConsumer::getSupportedEntityTypes

See also

_rac_get_supported_entity_types()

File

contrib/rac_fca/src/Plugin/rac/RoleAccessConsumer/FieldCollectionAccessRoleAccessConsumer.php, line 22

Class

FieldCollectionAccessRoleAccessConsumer
Defines Entity Types controlled by module.

Namespace

Drupal\rac_fca\Plugin\rac\RoleAccessConsumer

Code

public function getSupportedEntityTypes() {
  return [
    "field_collection_item",
  ];
}