You are here

function event_theme in Event 8

Implements hook_theme().

File

./event.module, line 34
Contains event.module.

Code

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