function gdpr_tasks_token_info in General Data Protection Regulation 7
Implements hook_token_info().
File
- modules/
gdpr_tasks/ gdpr_tasks.module, line 287 - Module file for the GDPR Tasks module.
Code
function gdpr_tasks_token_info() {
$tokens = [];
$tokens['gdpr_task']['type'] = [
'name' => t('Type'),
'description' => t('GDPR task type.'),
];
return [
'tokens' => $tokens,
];
}