You are here

public function ParagraphsAccessRoleAccessConsumer::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_pa/src/Plugin/rac/RoleAccessConsumer/ParagraphsAccessRoleAccessConsumer.php, line 22

Class

ParagraphsAccessRoleAccessConsumer
Defines Entity Types controlled by module.

Namespace

Drupal\rac_pa\Plugin\rac\RoleAccessConsumer

Code

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