You are here

function img_assist_token_list in Image Assist 6.2

Same name and namespace in other branches
  1. 5.3 includes/img_assist.token.inc \img_assist_token_list()
  2. 5.2 includes/img_assist.token.inc \img_assist_token_list()

Implementation of hook_token_list().

File

includes/img_assist.token.inc, line 21

Code

function img_assist_token_list($type = 'all') {
  if ($type == 'node' || $type == 'all') {
    $tokens['node']['teaser'] = t('Node teaser text (plain text)');
    $tokens['node']['body'] = t('Node body text (plain text)');
    return $tokens;
  }
}