You are here

interface RoleAccessConsumerInterface in Role Access Control 8

Defines interface for RoleAccessConsumer Plugins.

Hierarchy

Expanded class hierarchy of RoleAccessConsumerInterface

All classes that implement RoleAccessConsumerInterface

See also

\Drupal\rac\RoleAccessConsumer.

3 files declare their use of RoleAccessConsumerInterface
FieldCollectionAccessRoleAccessConsumer.php in contrib/rac_fca/src/Plugin/rac/RoleAccessConsumer/FieldCollectionAccessRoleAccessConsumer.php
NodeRoleAccessConsumer.php in contrib/rac_na/src/Plugin/rac/RoleAccessConsumer/NodeRoleAccessConsumer.php
ParagraphsAccessRoleAccessConsumer.php in contrib/rac_pa/src/Plugin/rac/RoleAccessConsumer/ParagraphsAccessRoleAccessConsumer.php

File

src/RoleAccessConsumerInterface.php, line 10

Namespace

Drupal\rac
View source
interface RoleAccessConsumerInterface {

  /**
   * 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.
   *
   * @see _rac_get_supported_entity_types()
   *
   * @return array
   *   An array of entity type ids.
   */
  public function getSupportedEntityTypes();

}

Members

Namesort descending Modifiers Type Description Overrides
RoleAccessConsumerInterface::getSupportedEntityTypes public function Retrieve the entity types for which access is controlled. 1