function tzfield_theme in Time Zone Field 6
Implementation of hook_theme().
File
- ./
tzfield.module, line 25 - Defines a field type for storing timezones.
Code
function tzfield_theme() {
return array(
'tzfield_select' => array(
'arguments' => array(
'element' => NULL,
),
),
'tzfield_autocomplete' => array(
'arguments' => array(
'element' => NULL,
),
),
'tzfield_formatter_default' => array(
'arguments' => array(
'element',
),
),
'tzfield_formatter_abbreviation' => array(
'arguments' => array(
'element',
),
'function' => 'theme_tzfield_formatter_date',
),
'tzfield_formatter_medium' => array(
'arguments' => array(
'element',
),
'function' => 'theme_tzfield_formatter_date',
),
'tzfield_formatter_rfc2822' => array(
'arguments' => array(
'element',
),
'function' => 'theme_tzfield_formatter_date',
),
'tzfield_none' => array(
'arguments' => array(
'widget_type' => NULL,
'field_name' => NULL,
'node_type' => NULL,
),
),
);
}