function google_calendar_block_theme in Google Calendar Block 7
Same name and namespace in other branches
- 7.2 google_calendar_block.module \google_calendar_block_theme()
Implements hook_theme().
File
- ./
google_calendar_block.module, line 42 - A module to provide simple Google Calendar blocks using the Google Data APIs.
Code
function google_calendar_block_theme($existing, $type, $theme, $path) {
return array(
'google_calendar_block_event' => array(
'variables' => array(
'title' => NULL,
'author' => NULL,
'summary' => NULL,
'content' => NULL,
'start' => NULL,
'end' => NULL,
'where' => NULL,
),
'template' => 'google-calendar-block-event',
),
);
}