function hook_accountment_name_realname_alter in Account menu 6
Same name and namespace in other branches
- 7 accountmenu.api.php \hook_accountment_name_realname_alter()
 
hook_accountmenu_name_realname_alter
Alter the list of tokens used to generate the user/login text.
File
- ./
accountmenu.api.php, line 8  
Code
function hook_accountment_name_realname_alter(&$list) {
  $list['@realname'] .= ', the King of Freedonia';
  $list['@my_custom_token'] = 'Additional tokens are possible, too.';
}