You are here

function hook_realname_alter in Real Name 8

Same name and namespace in other branches
  1. 7 realname.api.php \hook_realname_alter()
  2. 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

realname_update()

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) {
}