function date_api_theme in Date 6
Same name and namespace in other branches
- 8 date_api/date_api.module \date_api_theme()
- 6.2 date_api.module \date_api_theme()
- 7.3 date_api/date_api.module \date_api_theme()
- 7 date_api/date_api.module \date_api_theme()
- 7.2 date_api/date_api.module \date_api_theme()
File
- ./
date_api.module, line 1324 - This module will make the date API available to other modules. Designed to provide a light but flexible assortment of functions and constants, with more functionality in additional files that are not loaded unless other modules specifically include them.
Code
function date_api_theme() {
$path = drupal_get_path('module', 'date_api');
$base = array(
'file' => 'theme.inc',
'path' => "{$path}/theme",
);
return array(
'date_nav' => $base + array(
'template' => 'date-nav',
'arguments' => array(
'view' => NULL,
),
),
'date_nav_title' => array(
'arguments' => array(
'type' => NULL,
'view' => NULL,
),
),
'date_timezone' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_select' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_text' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_select_element' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_textfield_element' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_date_part_hour_prefix' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_minsec_prefix' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_year' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_month' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_day' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_hour' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_minute' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_second' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_ampm' => array(
'arguments' => array(
'element' => NULL,
),
),
'date_part_label_timezone' => array(
'arguments' => array(
'element' => NULL,
),
),
);
}