You are here

function serial_token_list in Serial Field 6

Implementation of hook_token_list().

File

./serial.module, line 134
The Serial module main file.

Code

function serial_token_list($type = 'all') {
  if ($type == 'field' || $type == 'all') {
    $tokens['serial']['id'] = t('Serial field value (unique per node type)');
    return $tokens;
  }
}