You are here

function flag_lists_token_list in Flag Lists 6

Implementation of hook_token_list().

File

./flag_lists.module, line 1126
The Flag Lists module.

Code

function flag_lists_token_list($type = 'all') {
  $tokens = array();
  if ($type == 'node' || $type == 'all') {
    $tokens['flag_lists']['flag-lists-term'] = t('The terminology used to name the lists, such as list, wishlist, favorites, etc.');
    $tokens['flag_lists']['flag-lists-title'] = t('The title of the lis.');
  }
  return $tokens;
}