You are here

function hook_realname_pattern_alter in Real Name 8

Same name and namespace in other branches
  1. 7 realname.api.php \hook_realname_pattern_alter()
  2. 2.x realname.api.php \hook_realname_pattern_alter()

Alter the pattern for a user's real name prior to generation.

Parameters

string $pattern: The real name pattern string prior to token replacement.

object $account: A user account object.

See also

realname_update()

Related topics

1 invocation of hook_realname_pattern_alter()
realname_update in ./realname.module
Update the realname for a user account.

File

./realname.api.php, line 25
Hooks provided by the Real name module.

Code

function hook_realname_pattern_alter(&$pattern, $account) {
}