You are here

function redhen_connection_theme in RedHen CRM 8

Implements hook_theme().

File

modules/redhen_connection/redhen_connection.module, line 50
Contains redhen_connection.module..

Code

function redhen_connection_theme() {
  $theme = [];
  $theme['redhen_connection'] = [
    'render element' => 'elements',
    'file' => 'redhen_connection.page.inc',
    'template' => 'redhen_connection',
  ];
  $theme['redhen_connection_content_add_list'] = [
    'render element' => 'content',
    'variables' => [
      'content' => NULL,
      'entity' => NULL,
    ],
    'file' => 'redhen_connection.page.inc',
  ];
  return $theme;
}