class FieldCollectionAccessRoleAccessConsumer in Role Access Control 8
Defines Entity Types controlled by module.
Plugin annotation
@RoleAccessConsumer(
id = "rac_fca",
label = @Translation("Role Access Consumer Definition for rac_fca"),
description = @Translation("Role Access Consumer Definition for rac_fca."),
)
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\rac\RoleAccessConsumer implements RoleAccessConsumerInterface
- class \Drupal\rac_fca\Plugin\rac\RoleAccessConsumer\FieldCollectionAccessRoleAccessConsumer implements RoleAccessConsumerInterface
- class \Drupal\rac\RoleAccessConsumer implements RoleAccessConsumerInterface
Expanded class hierarchy of FieldCollectionAccessRoleAccessConsumer
File
- contrib/
rac_fca/ src/ Plugin/ rac/ RoleAccessConsumer/ FieldCollectionAccessRoleAccessConsumer.php, line 17
Namespace
Drupal\rac_fca\Plugin\rac\RoleAccessConsumerView source
class FieldCollectionAccessRoleAccessConsumer extends RoleAccessConsumer implements RoleAccessConsumerInterface {
/**
* {@inheritdoc}
*/
public function getSupportedEntityTypes() {
return [
"field_collection_item",
];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FieldCollectionAccessRoleAccessConsumer:: |
public | function |
Retrieve the entity types for which access is controlled. Overrides RoleAccessConsumer:: |
|
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |
RoleAccessConsumer:: |
public | property | A short description of the plugin. | |
RoleAccessConsumer:: |
public | property | The plugin ID. | |
RoleAccessConsumer:: |
public | property | The human-readable name of the formatter type. |