You are here

function gdpr_task_type_access in General Data Protection Regulation 7

Access callback for task type entities.

1 string reference to 'gdpr_task_type_access'
gdpr_tasks_entity_info in modules/gdpr_tasks/gdpr_tasks.module
Implements hook_entity_info().

File

modules/gdpr_tasks/gdpr_tasks.module, line 346
Module file for the GDPR Tasks module.

Code

function gdpr_task_type_access($op, $task_type = NULL, $account = NULL) {
  if (user_access('administer task type entities', $account)) {
    return TRUE;
  }
}