class ConnectionPermission in RedHen CRM 8
Defines a Connection permission item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\redhen_connection\Annotation\ConnectionPermission
Expanded class hierarchy of ConnectionPermission
See also
\Drupal\redhen_connection\Plugin\ConnectionPermissionManager
3 classes are annotated with ConnectionPermission
- ConnectionConnectionPermission in modules/
redhen_connection/ src/ Plugin/ ConnectionPermission/ ConnectionConnectionPermission.php - Provide permissions for the connection entity of a redhen_connection.
- OrgConnectionPermission in modules/
redhen_connection/ src/ Plugin/ ConnectionPermission/ OrgConnectionPermission.php - Provides permission for access to connected redhen_orgs.
- SecondaryContactConnectionPermission in modules/
redhen_connection/ src/ Plugin/ ConnectionPermission/ SecondaryContactConnectionPermission.php - Provide permission for contacts that share a redhen_connection.
File
- modules/
redhen_connection/ src/ Annotation/ ConnectionPermission.php, line 15
Namespace
Drupal\redhen_connection\AnnotationView source
class ConnectionPermission extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The label of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The description of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* The subject entity type, or the entity for which we are managing access.
*
* @var string
*/
public $subject_entity_type;
/**
* The subject entity bundle (optional).
*
* @var string
*/
public $subject_entity_bundle;
/**
* The influencer entity type, or the entity type that will influence access.
*
* @var string
*/
public $influencer_entity_type;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConnectionPermission:: |
public | property | The description of the plugin. | |
ConnectionPermission:: |
public | property | The plugin ID. | |
ConnectionPermission:: |
public | property | The influencer entity type, or the entity type that will influence access. | |
ConnectionPermission:: |
public | property | The label of the plugin. | |
ConnectionPermission:: |
public | property | The subject entity bundle (optional). | |
ConnectionPermission:: |
public | property | The subject entity type, or the entity for which we are managing access. | |
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 |