function calendar_theme in Calendar 8.2
Same name and namespace in other branches
- 8 calendar.module \calendar_theme()
- 6.2 calendar.module \calendar_theme()
- 7.3 calendar.module \calendar_theme()
- 7 calendar.module \calendar_theme()
- 7.2 calendar.module \calendar_theme()
Implements hook_theme().
File
- ./
calendar.module, line 28 - Contains calendar.module.
Code
function calendar_theme($existing, $type, $theme, $path) {
return [
'calendar_year' => [
'variables' => [
'view' => NULL,
'rows' => [],
'options' => [],
],
],
'calendar_month' => [
'variables' => [
'view' => NULL,
'rows' => [],
'options' => [],
],
],
'calendar_mini_month' => [
'variables' => [
'view' => NULL,
'rows' => [],
'options' => [],
],
],
'calendar_week' => [
'variables' => [
'view' => NULL,
'rows' => [],
'options' => [],
],
],
'calendar_day' => [
'variables' => [
'view' => NULL,
'rows' => [],
'options' => [],
],
],
'calendar_day_hour' => [
'variables' => [
'view' => NULL,
'rows' => [],
'options' => [],
],
],
'calendar_pager' => [
'variables' => [
'parameters' => [],
'items' => [],
'exclude' => FALSE,
],
],
'calendar_header' => [
'variables' => [
'view' => NULL,
'options' => [],
'title' => '',
'empty' => FALSE,
'granularity' => NULL,
],
],
];
}