function tzfield_field_info in Time Zone Field 7
Same name and namespace in other branches
- 6 tzfield.module \tzfield_field_info()
Implements hook_field_info().
File
- ./
tzfield.module, line 24 - Defines a time zone field type.
Code
function tzfield_field_info() {
return array(
'tzfield' => array(
'label' => t('Time zone'),
'description' => t('Store a time zone identifier in the database.'),
'settings' => array(
'exclude' => tzfield_identifiers_list(),
),
'default_widget' => 'options_select',
'default_formatter' => 'tzfield_default',
'property_type' => 'text',
),
);
}