You are here

function datereminder_token_list in Date Reminder 6.2

Same name and namespace in other branches
  1. 6 datereminder.module \datereminder_token_list()

Implements hook_token_list().

File

./datereminder.module, line 630
Support for reminders for nodes with dates.

Code

function datereminder_token_list($type = 'all') {
  $tokens = array();
  if ($type == 'datereminder' || $type == 'all') {
    $tokens['datereminder']['next-date-short'] = t('The date of the next occurrance of this event, short form');
    $tokens['datereminder']['next-date-medium'] = t('The date and time of the next occurance. medium form');
    $tokens['datereminder']['next-date-long'] = t('The date and time of the next occurance. long form');
  }
  return $tokens;
}