public static function ConsentAgreement::getModes in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_consent/src/Entity/ConsentAgreement.php \Drupal\gdpr_consent\Entity\ConsentAgreement::getModes()
- 3.0.x modules/gdpr_consent/src/Entity/ConsentAgreement.php \Drupal\gdpr_consent\Entity\ConsentAgreement::getModes()
Get the available consent modes.
Return value
array Array of consent modes.
File
- modules/
gdpr_consent/ src/ Entity/ ConsentAgreement.php, line 369
Class
- ConsentAgreement
- Defines the ConsentAgreement entity.
Namespace
Drupal\gdpr_consent\EntityCode
public static function getModes() {
return [
'implicit' => t('Implicit'),
'explicit' => t('Explicit'),
];
}