You are here

function regcode_mailer_token_values in Registration codes 6

Same name and namespace in other branches
  1. 6.2 regcode_mailer/regcode_mailer.module \regcode_mailer_token_values()

Implements hook_token_values().

File

regcode_mailer/regcode_mailer.module, line 179

Code

function regcode_mailer_token_values($type, $object = NULL, $options = array()) {
  if ($type == 'regcode') {
    $tokens['regcode'] = $object->code;
    return $tokens;
  }
}