You are here

class ConnectionPermission in RedHen CRM 8

Defines a Connection permission item annotation object.

Hierarchy

Expanded class hierarchy of ConnectionPermission

See also

\Drupal\redhen_connection\Plugin\ConnectionPermissionManager

Plugin API

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\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
ConnectionPermission::$description public property The description of the plugin.
ConnectionPermission::$id public property The plugin ID.
ConnectionPermission::$influencer_entity_type public property The influencer entity type, or the entity type that will influence access.
ConnectionPermission::$label public property The label of the plugin.
ConnectionPermission::$subject_entity_bundle public property The subject entity bundle (optional).
ConnectionPermission::$subject_entity_type public property The subject entity type, or the entity for which we are managing access.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2