function gdpr_tasks_theme in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/gdpr_tasks/gdpr_tasks.module \gdpr_tasks_theme()
- 8 modules/gdpr_tasks/gdpr_tasks.module \gdpr_tasks_theme()
- 7 modules/gdpr_tasks/gdpr_tasks.module \gdpr_tasks_theme()
Implements hook_theme().
File
- modules/
gdpr_tasks/ gdpr_tasks.module, line 18 - Module file for the GDPR Tasks module.
Code
function gdpr_tasks_theme() {
$theme = [];
$theme['gdpr_task'] = [
'render element' => 'elements',
'file' => 'gdpr_tasks.pages.inc',
'template' => 'gdpr_task',
];
$theme['gdpr_task_content_add_list'] = [
'render element' => 'content',
'variables' => [
'content' => NULL,
],
'file' => 'gdpr_tasks.pages.inc',
];
return $theme;
}