function agenda_theme in Agenda 7
Same name and namespace in other branches
- 6.2 agenda.module \agenda_theme()
- 6 agenda.module \agenda_theme()
- 7.2 agenda.module \agenda_theme()
Implements hook_theme().
File
- ./
agenda.module, line 127
Code
function agenda_theme($existing, $type, $theme, $path) {
$theme = array(
'agenda_block' => array(
'variables' => array(
'events' => array(),
'block' => new stdClass(),
),
'template' => 'agenda-block',
),
'agenda_admin' => array(
'variables' => array(
'table' => '',
),
'template' => 'agenda-admin',
),
);
return $theme;
}