You are here

function tzfield_field_info in Time Zone Field 6

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

Implementation of hook_field_info().

Here we indicate that the content module will use its default handling for the view of this field.

File

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

Code

function tzfield_field_info() {
  return array(
    'timezone' => array(
      'label' => 'Timezone',
      'description' => t('Store a timezone identifier in the database.'),
      'callbacks' => array(
        'tables' => CONTENT_CALLBACK_DEFAULT,
        'arguments' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}