You are here

function field_timer_field_info in Field Timer 7

Same name and namespace in other branches
  1. 7.2 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(),
      'instance_settings' => array(
        // Used only for jQuery Countdown plugin.
        'jquery-countdown' => array(
          'description' => '',
          'expiryText' => '',
          'expiryUrl' => '',
        ),
      ),
      'default_widget' => 'field_timer_simple_date',
      'default_formatter' => 'field_timer_text',
    ),
  );
}