You are here

function addtocal_field_formatter_info in Add to Cal 7

Implements hook_field_formatter_info().

File

./addtocal.module, line 102
addtocal.module General functions and hook implementations.

Code

function addtocal_field_formatter_info() {
  return array(
    'addtocal_view' => array(
      'label' => t('Add to Cal'),
      'field types' => array(
        'date',
        'datestamp',
        'datetime',
      ),
      'settings' => array(
        'format_type' => 'long',
        'multiple_number' => '',
        'multiple_from' => '',
        'multiple_to' => '',
        'fromto' => 'both',
        'location' => array(
          'field' => -1,
          'tokenized' => '',
        ),
        'description' => array(
          'field' => -1,
          'tokenized' => '',
        ),
        'description_tokenized' => '',
        'past_events' => FALSE,
        'show_repeat_rule' => 'hide',
        'view_mode' => '',
      ),
    ),
  );
}