You are here

function field_timer_field_info in Field Timer 7.2

Same name and namespace in other branches
  1. 7 field_timer.module \field_timer_field_info()

Implements hook_field_info().

File

./field_timer.module, line 52
Main module file.

Code

function field_timer_field_info() {
  return array(
    'field_timer' => array(
      'label' => t('Timer Field'),
      'description' => t('Timer or countdown.'),
      'settings' => array(),
      'default_widget' => 'field_timer_simple_date',
      'default_formatter' => 'field_timer_text',
      'property_type' => 'date',
    ),
  );
}