You are here

function tzfield_field_formatter_info in Time Zone Field 6

Same name and namespace in other branches
  1. 7 tzfield.module \tzfield_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./tzfield.module, line 153
Defines a field type for storing timezones.

Code

function tzfield_field_formatter_info() {
  return array(
    'default' => array(
      'label' => 'Timezone name',
      'field types' => array(
        'timezone',
      ),
    ),
    'abbreviation' => array(
      'label' => 'Current timezone abbreviation',
      'field types' => array(
        'timezone',
      ),
    ),
    'medium' => array(
      'label' => 'Current medium date format',
      'field types' => array(
        'timezone',
      ),
    ),
    'rfc2822' => array(
      'label' => 'Current RFC 2822 date',
      'field types' => array(
        'timezone',
      ),
    ),
  );
}