function redhen_contact_theme in RedHen CRM 8
Same name and namespace in other branches
- 7 modules/redhen_contact/redhen_contact.module \redhen_contact_theme()
Implements hook_theme().
File
- modules/
redhen_contact/ redhen_contact.module, line 45 - Contains redhen_contact.module..
Code
function redhen_contact_theme() {
$theme = [];
$theme['redhen_contact'] = [
'render element' => 'elements',
'file' => 'redhen_contact.page.inc',
'template' => 'redhen_contact',
];
$theme['redhen_contact_content_add_list'] = [
'render element' => 'content',
'variables' => [
'content' => NULL,
],
'file' => 'redhen_contact.page.inc',
];
return $theme;
}