You are here

accountmenu.api.php in Account menu 7

Same filename and directory in other branches
  1. 6 accountmenu.api.php

File

accountmenu.api.php
View source
<?php

/**
 * hook_accountmenu_name_realname_alter
 *
 * Alter the list of tokens used to generate the user/login text.
 */
function hook_accountment_name_realname_alter(&$list) {
  $list['@realname'] .= ', the King of Freedonia';
  $list['@my_custom_token'] = 'Additional tokens are possible, too.';
}

Functions

Namesort descending Description
hook_accountment_name_realname_alter hook_accountmenu_name_realname_alter