You are here

function gdpr_tasks_menu_alter in General Data Protection Regulation 7

Implements hook_menu_alter().

File

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

Code

function gdpr_tasks_menu_alter(&$items) {
  $items['user/%/gdpr/requests']['access callback'] = 'gdpr_tasks_user_tasks_access';
  $items['user/%/gdpr/requests']['access arguments'] = array(
    'view',
    1,
  );
}