You are here

public function ClearAnonymizer::anonymize in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 modules/anonymizer/src/Plugin/Anonymizer/ClearAnonymizer.php \Drupal\anonymizer\Plugin\Anonymizer\ClearAnonymizer::anonymize()
  2. 3.0.x modules/anonymizer/src/Plugin/Anonymizer/ClearAnonymizer.php \Drupal\anonymizer\Plugin\Anonymizer\ClearAnonymizer::anonymize()

Return an empty output regardless of the input.

Overrides AnonymizerInterface::anonymize

File

modules/anonymizer/src/Plugin/Anonymizer/ClearAnonymizer.php, line 26

Class

ClearAnonymizer
Class ClearAnonymizer.

Namespace

Drupal\anonymizer\Plugin\Anonymizer

Code

public function anonymize($input, FieldItemListInterface $field = NULL) {
  return '';
}