function gdpr_tasks_default_gdpr_task_type in General Data Protection Regulation 7
Implements hook_default_gdpr_task_type().
File
- modules/
gdpr_tasks/ gdpr_tasks.module, line 255 - Module file for the GDPR Tasks module.
Code
function gdpr_tasks_default_gdpr_task_type() {
$types['gdpr_sar'] = new GDPRTaskType(array(
'type' => 'gdpr_sar',
'label' => t('SARs Request'),
'weight' => 0,
'locked' => TRUE,
));
$types['gdpr_remove'] = new GDPRTaskType(array(
'type' => 'gdpr_remove',
'label' => t('Removal Request'),
'weight' => 0,
'locked' => TRUE,
));
return $types;
}