You are here

function shoutbox_rules_token_list in Shoutbox 6.2

Implementation of hook_token_list().

File

shoutbox_rules/shoutbox_rules.module, line 22

Code

function shoutbox_rules_token_list($type = 'all') {
  if ($type == 'shout' || $type == 'all') {
    $tokens['shout']['shout'] = t('Shout message text.');
    $tokens['shout']['shout-raw'] = t('Shout message raw text.');
    $tokens['shout']['shout-id'] = t('Shout message ID.');
    return $tokens;
  }
}