public function GdprField::rtaDescription in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::rtaDescription()
- 3.0.x modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::rtaDescription()
Gets the RTA description.
Return value
string The description.
File
- modules/
gdpr_fields/ src/ Entity/ GdprField.php, line 175
Class
- GdprField
- Metadata for a GDPR field.
Namespace
Drupal\gdpr_fields\EntityCode
public function rtaDescription() {
switch ($this->rta) {
case 'inc':
return 'Included';
case 'maybe':
return 'Maybe';
case 'no':
return 'Not Included';
default:
return 'Not Configured';
}
}