function hook_realname_alter in Real Name 7
Same name and namespace in other branches
- 8 realname.api.php \hook_realname_alter()
- 2.x realname.api.php \hook_realname_alter()
Alter a user's real name before it is saved to the database.
Parameters
string $realname: The user's generated real name.
object $account: A user account object.
See also
Related topics
1 invocation of hook_realname_alter()
- realname_update in ./
realname.module - Update the realname for a user account.
File
- ./
realname.api.php, line 41 - Hooks provided by the Real name module.
Code
function hook_realname_alter(&$realname, $account) {
}