You are here

class GdprConsentUserResolver in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolver.php \Drupal\gdpr_consent\ConsentUserResolver\GdprConsentUserResolver
  2. 3.0.x modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolver.php \Drupal\gdpr_consent\ConsentUserResolver\GdprConsentUserResolver

Annotation for Consent Resolver plugins.

Plugin namespace: Plugin\Gdpr\ConsentUserResolver.

@package Drupal\gdpr_consent\Annotation

Hierarchy

Expanded class hierarchy of GdprConsentUserResolver

File

modules/gdpr_consent/src/ConsentUserResolver/GdprConsentUserResolver.php, line 16

Namespace

Drupal\gdpr_consent\ConsentUserResolver
View source
class GdprConsentUserResolver extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * Human-readable of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $label;

  /**
   * Description of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $description;

  /**
   * The entity type to which this resolver applies.
   *
   * @var string
   */
  public $entityType;

  /**
   * The bundle that this should act on.
   *
   * @var string
   */
  public $bundle;

}

Members

Namesort descending Modifiers Type Description Overrides
GdprConsentUserResolver::$bundle public property The bundle that this should act on.
GdprConsentUserResolver::$description public property Description of the plugin.
GdprConsentUserResolver::$entityType public property The entity type to which this resolver applies.
GdprConsentUserResolver::$id public property The plugin ID.
GdprConsentUserResolver::$label public property Human-readable of the plugin.
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