function calendar_multiday_theme in Calendar 6.2
Same name and namespace in other branches
- 7 calendar_multiday/calendar_multiday.module \calendar_multiday_theme()
- 7.2 calendar_multiday/calendar_multiday.module \calendar_multiday_theme()
File
- calendar_multiday/
calendar_multiday.module, line 27 - Adds calendar filtering and displays to Views.
Code
function calendar_multiday_theme() {
$path = drupal_get_path('module', 'calendar_multiday');
$base = array(
'file' => 'theme.inc',
'path' => "{$path}/theme",
);
return array(
'calendar_day_node' => $base + array(
'template' => 'calendar-day-node',
'arguments' => array(
'node' => NULL,
'view' => NULL,
),
),
'calendar_month_node' => $base + array(
'template' => 'calendar-month-node',
'arguments' => array(
'node' => NULL,
'view' => NULL,
),
),
'calendar_week_node' => $base + array(
'template' => 'calendar-week-node',
'arguments' => array(
'node' => NULL,
'view' => NULL,
),
),
'calendar_month_multiple_node' => $base + array(
'template' => 'calendar-month-multiple-node',
'arguments' => array(
'curday' => NULL,
'count' => NULL,
'view' => NULL,
'types' => NULL,
),
),
'calendar_week_multiple_node' => $base + array(
'template' => 'calendar-week-multiple-node',
'arguments' => array(
'curday' => NULL,
'count' => NULL,
'view' => NULL,
'types' => NULL,
),
),
'calendar_datebox' => $base + array(
'template' => 'calendar-datebox',
'arguments' => array(
'date' => NULL,
'view' => NULL,
'items' => NULL,
'selected' => NULL,
),
),
'calendar_date_combo' => $base + array(
'arguments' => array(
'node',
'lable',
'view',
),
),
'calendar_empty_day' => $base + array(
'arguments' => array(
'curday',
'view',
),
),
'calendar_stripe_legend' => $base + array(
'arguments' => array(
'stripe_labels',
),
),
'calendar_stripe_stripe' => $base + array(
'arguments' => array(
'node',
),
),
'calendar_colorpicker' => $base + array(
'arguments' => array(
'element',
),
),
'calendar_colorfield' => $base + array(
'arguments' => array(
'element',
),
),
'calendar_time_row_heading' => $base + array(
'arguments' => array(
'start_time',
'next_start_time',
'curday_date',
),
),
'calendar_month_col' => $base + array(
'template' => 'calendar-month-col',
'arguments' => array(
'item' => NULL,
),
),
'calendar_month_row' => $base + array(
'template' => 'calendar-month-row',
'arguments' => array(
'inner' => NULL,
'class' => NULL,
'week' => NULL,
'iehint' => NULL,
),
),
);
}