You are here

function hms_field_field_info in HMS Field 7

Implements hook_field_info().

File

./hms_field.module, line 42
Provides an hms_field functionality.

Code

function hms_field_field_info() {
  return array(
    'hms_field' => array(
      'label' => t('Hours Minutes and Seconds'),
      'description' => t('Store Hours minutes or Seconds'),
      'translatable' => 0,
      'settings' => array(),
      'instance_settings' => array(
        'format' => 'h:mm',
        'default_description' => 1,
      ),
      'default_widget' => 'hms_default_widget',
      'default_formatter' => 'hms_default_formatter',
      'property_type' => 'integer',
    ),
  );
}