You are here

interface AnonymizerInterface in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/anonymizer/src/Anonymizer/AnonymizerInterface.php \Drupal\anonymizer\Anonymizer\AnonymizerInterface
  2. 3.0.x modules/anonymizer/src/Anonymizer/AnonymizerInterface.php \Drupal\anonymizer\Anonymizer\AnonymizerInterface

Interface AnonymizerInterface.

@package Drupal\anonymizer\Anonymizer

Hierarchy

Expanded class hierarchy of AnonymizerInterface

All classes that implement AnonymizerInterface

File

modules/anonymizer/src/Anonymizer/AnonymizerInterface.php, line 12

Namespace

Drupal\anonymizer\Anonymizer
View source
interface AnonymizerInterface {

  /**
   * Return an anonymized output.
   *
   * @var int|string $input
   *   The input.
   * @var \Drupal\Core\Field\FieldItemListInterface|null $field
   *   The field being anonymized.
   *
   * @return int|string
   *   The anonymized output.
   */
  public function anonymize($input, FieldItemListInterface $field = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
AnonymizerInterface::anonymize public function Return an anonymized output. 10