function gdpr_consent_permission in General Data Protection Regulation 7
Implements hook_permission().
File
- modules/
gdpr_consent/ gdpr_consent.module, line 96 - Contains hook implementations and shared functions.
Code
function gdpr_consent_permission() {
$permissions = array(
'manage gdpr agreements' => array(
'title' => t('Manage GDPR Agreements'),
),
'grant any consent' => array(
'title' => t('Grant Any Consent'),
),
'grant own consent' => array(
'title' => t('Grant Own Consent'),
),
);
return $permissions;
}