You are here

function jquery_countdown_date_field_formatter_info in jQuery Countdown 6

Implementation of hook_field_formatter_info()

File

jquery_countdown_date/jquery_countdown_date.module, line 53
provides a jquery.countdown formatter for "date" field and settings in the date widget

Code

function jquery_countdown_date_field_formatter_info() {
  $formatter = array();
  $formatter['jquery_countdown_default'] = array(
    'label' => t('jQuery Countdown'),
    'field types' => array(
      'date',
    ),
    'multiple values' => CONTENT_HANDLE_CORE,
    'description' => t('Display date as jquery Countdown'),
  );
  return $formatter;
}