You are here

function birthdays_field_formatter_info in Birthdays 7

Implements hook_field_formatter_info().

File

./birthdays.module, line 340
The Birthdays module allows users to add their birthday to their profile. It lists birthdays on a seperate page and in different blocks. Users can receive an email on their birthday automatically, and the administrator can receive daily reminders of…

Code

function birthdays_field_formatter_info() {
  return array(
    'birthdays_plaintext' => array(
      'label' => t('Plaintext'),
      'field types' => array(
        'birthdays_date',
      ),
      'settings' => array(
        'dateformat' => 'Y/m/d',
        'dateformat_noyear' => 'M d',
      ),
    ),
    'birthdays_starsign' => array(
      'label' => t('Starsign'),
      'field types' => array(
        'birthdays_date',
      ),
      'settings' => array(
        'starsign_with_yahoo_link' => FALSE,
      ),
    ),
    'birthdays_age' => array(
      'label' => t('Age'),
      'field types' => array(
        'birthdays_date',
      ),
    ),
    'birthdays_age_upcoming' => array(
      'label' => t('Age +1'),
      'field types' => array(
        'birthdays_date',
      ),
    ),
  );
}