You are here

function hook_ulogin_username_alter in uLogin (advanced version) 7

Same name and namespace in other branches
  1. 8 ulogin.api.php \hook_ulogin_username_alter()
  2. 6 ulogin.api.php \hook_ulogin_username_alter()

Alter the username for a user before creation.

Parameters

$name: The username for the user being created, it must be unique.

$data: The data object with all the properties from authentication provider.

See also

_ulogin_make_username()

1 function implements hook_ulogin_username_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

ulogin_username_ulogin_username_alter in ulogin_username/ulogin_username.module
Implements hook_ulogin_username_alter().
1 invocation of hook_ulogin_username_alter()
_ulogin_make_username in ./ulogin.module

File

./ulogin.api.php, line 25
Hooks provided by the uLogin module.

Code

function hook_ulogin_username_alter(&$name, $data) {
}