You are here

function realname_token_info in Real Name 7

Implements hook_token_info().

File

./realname.tokens.inc, line 11
Builds placeholder replacement tokens for realname.

Code

function realname_token_info() {
  $info['tokens']['user']['name-raw'] = array(
    'name' => t('Raw name'),
    'description' => t('The raw login name of the user account, unprocessed by the RealName module.'),
  );
  return $info;
}