You are here

function jquery_countdown_field_formatter_info in jQuery Countdown 7

Same name and namespace in other branches
  1. 7.2 jquery_countdown.module \jquery_countdown_field_formatter_info()

Implements hook_field_formatter_info(). provides the jquery_countdown formatter for use with date field @TODO: setting like first or last field and much more... @TODO: check for existing date module!

File

./jquery_countdown.module, line 168

Code

function jquery_countdown_field_formatter_info() {
  $formatters = array(
    'jquery_countdown' => array(
      'label' => t('jQuery Countdown'),
      'field types' => array(
        'date',
        'datestamp',
        'datetime',
      ),
    ),
  );
  return $formatters;
}