You are here

function redhen_org_theme in RedHen CRM 8

Same name and namespace in other branches
  1. 7 modules/redhen_org/redhen_org.module \redhen_org_theme()

Implements hook_theme().

File

modules/redhen_org/redhen_org.module, line 41
Contains redhen_org.module..

Code

function redhen_org_theme() {
  $theme = [];
  $theme['redhen_org'] = [
    'render element' => 'elements',
    'file' => 'redhen_org.page.inc',
    'template' => 'redhen_org',
  ];
  $theme['redhen_org_content_add_list'] = [
    'render element' => 'content',
    'variables' => [
      'content' => NULL,
    ],
    'file' => 'redhen_org.page.inc',
  ];
  return $theme;
}