Function Hook_fields_email->privacy_field_type
Definitions
sources/hooks/systems/fields/email.php
- Define what type of field this should be treated as in the privacy system if marked sensitive.This method should be defined on fields which should not be treated as "additional_anonymise_fields".
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $field | array | No | No | required parameter | N/A | N/A | The field details |
Returns
- The type of field to treat this
- Type: ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Define what type of field this should be treated as in the privacy system if marked sensitive.This method should be defined on fields which should not be treated as "additional_anonymise_fields".
*
* @param array $field The field details
* @return ID_TEXT The type of field to treat this
*/
public function privacy_field_type(array $field) : string
* Define what type of field this should be treated as in the privacy system if marked sensitive.This method should be defined on fields which should not be treated as "additional_anonymise_fields".
*
* @param array $field The field details
* @return ID_TEXT The type of field to treat this
*/
public function privacy_field_type(array $field) : string

