You are here

function serial_token_values in Serial Field 6

Implementation of hook_token_values().

File

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

Code

function serial_token_values($type, $object = NULL) {
  if ($type == 'field') {
    $tokens['id'] = $object[0]['value'];
    return $tokens;
  }
}