You are here

function gdpr_consent_access_callback in General Data Protection Regulation 7

Access callback for agreements.

1 string reference to 'gdpr_consent_access_callback'
gdpr_consent_entity_info in modules/gdpr_consent/gdpr_consent.module
Implements hook_entity_info().

File

modules/gdpr_consent/gdpr_consent.module, line 243
Contains hook implementations and shared functions.

Code

function gdpr_consent_access_callback($op, $entity = NULL, $account = NULL) {
  return user_access('manage gdpr agreements');
}