AnonymizerInterface.php in General Data Protection Regulation 8
Same filename and directory in other branches
Namespace
Drupal\anonymizer\AnonymizerFile
modules/anonymizer/src/Anonymizer/AnonymizerInterface.phpView source
<?php
namespace Drupal\anonymizer\Anonymizer;
use Drupal\Core\Field\FieldItemListInterface;
/**
* Interface AnonymizerInterface.
*
* @package Drupal\anonymizer\Anonymizer
*/
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);
}
Interfaces
Name | Description |
---|---|
AnonymizerInterface | Interface AnonymizerInterface. |