You are here

function event_token_list in Event 5.2

File

./event.module, line 3161

Code

function event_token_list($type = 'all') {
  if ($type == 'node' || $type == 'all') {
    $tokens['node']['eventyyyy'] = t("The year the event starts.");
    $tokens['node']['eventmm'] = t("The two-digit month (01-12) the event starts.");
    $tokens['node']['eventmon'] = t("The three-letter month (jan-dec) the event starts.");
    $tokens['node']['eventdd'] = t("The two-digit day of the month (01-31) the event starts.");
    $tokens['node']['eventday'] = t("The three-letter day of the week (sun-sat) the event starts.");
    $tokens['node']['eventweek'] = t("The week number (1-52) of the year the event starts.");
    return $tokens;
  }
}