You are here

function isbn_token_list in ISBN Field 6

Implementation of hook_token_list()

File

./isbn.module, line 543
Defines ISBN field types.

Code

function isbn_token_list($type = 'all') {
  if ($type == 'field' || $type == 'all') {
    $tokens = array();
    $tokens['isbn']['raw'] = t('Raw, unfiltered ISBN');
    $tokens['isbn']['formatted'] = t('Formatted and filtered ISBN');
    return $tokens;
  }
}