interface RoleAccessConsumerInterface in Role Access Control 8
Defines interface for RoleAccessConsumer Plugins.
Hierarchy
- interface \Drupal\rac\RoleAccessConsumerInterface
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\racView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RoleAccessConsumerInterface:: |
public | function | Retrieve the entity types for which access is controlled. | 1 |