You are here

public static function GdprField::rtaOptions 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::rtaOptions()
  2. 3.0.x modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::rtaOptions()

Get the options array for right to access field.

Return value

array Right to access field options array.

2 calls to GdprField::rtaOptions()
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 335

Class

GdprField
Metadata for a GDPR field.

Namespace

Drupal\gdpr_fields\Entity

Code

public static function rtaOptions() {
  return [
    'inc' => 'Included',
    'maybe' => 'Maybe included',
    'no' => 'Not included',
  ];
}