You are here

class Anonymizer in General Data Protection Regulation 8

Same name in this branch
  1. 8 modules/gdpr_tasks/src/Anonymizer.php \Drupal\gdpr_tasks\Anonymizer
  2. 8 modules/anonymizer/src/Annotation/Anonymizer.php \Drupal\anonymizer\Annotation\Anonymizer
Same name and namespace in other branches
  1. 8.2 modules/anonymizer/src/Annotation/Anonymizer.php \Drupal\anonymizer\Annotation\Anonymizer
  2. 3.0.x modules/anonymizer/src/Annotation/Anonymizer.php \Drupal\anonymizer\Annotation\Anonymizer

Annotation for anonymizer plugins.

Plugin namespace: Plugin\Anonymizer\Anonymizer.

@package Drupal\anonymizer\Annotation

Hierarchy

Expanded class hierarchy of Anonymizer

1 file declares its use of Anonymizer
AnonymizerPluginManager.php in modules/anonymizer/src/Anonymizer/AnonymizerPluginManager.php
3 string references to 'Anonymizer'
anonymizer.info.yml in modules/anonymizer/anonymizer.info.yml
modules/anonymizer/anonymizer.info.yml
TaskLogItem::propertyDefinitions in modules/gdpr_tasks/src/Plugin/Field/FieldType/TaskLogItem.php
Defines field item properties.
TaskLogItemWidget::formElement in modules/gdpr_tasks/src/Plugin/Field/FieldWidget/TaskLogItemWidget.php
Returns the form for a single field widget.

File

modules/anonymizer/src/Annotation/Anonymizer.php, line 16

Namespace

Drupal\anonymizer\Annotation
View source
class Anonymizer 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;

}

Members

Namesort descending Modifiers Type Description Overrides
Anonymizer::$description public property Description of the plugin.
Anonymizer::$id public property The plugin ID.
Anonymizer::$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