You are here

public static function GdprField::rtfOptions in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::rtfOptions()
  2. 3.0.x modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::rtfOptions()

Get the options array for right to be forgotten field.

Return value

array Right to be forgotten field options array.

2 calls to GdprField::rtfOptions()
GdprFieldFilterForm::buildForm in modules/gdpr_fields/src/Form/GdprFieldFilterForm.php
Form constructor.
GdprFieldSettingsForm::buildFormFields in modules/gdpr_fields/src/Form/GdprFieldSettingsForm.php
Builds the form fields for GDPR settings.

File

modules/gdpr_fields/src/Entity/GdprField.php, line 349

Class

GdprField
Metadata for a GDPR field.

Namespace

Drupal\gdpr_fields\Entity

Code

public static function rtfOptions() {
  return [
    'anonymize' => 'Anonymize',
    'remove' => 'Remove',
    'maybe' => 'Maybe included',
    'no' => 'Not included',
  ];
}