You are here

function mediafront_user_token_list in MediaFront 6

Same name and namespace in other branches
  1. 6.2 plugins/mediafront_user/mediafront_user.module \mediafront_user_token_list()

Implementation of hook_token_list().

File

plugins/mediafront_user/mediafront_user.module, line 59

Code

function mediafront_user_token_list($type = 'all') {
  if ($type == 'user' || $type == 'all') {
    $tokens['user']['user-verb'] = t('What this person is doing. "Travis is <strong>listening to</strong>."');
    $tokens['user']['user-noun'] = t('The noun associated with the verb. "Travis is listening to <strong>music</strong>"');
    return $tokens;
  }
}