function auto_username_permission in Automatic User Names 7
Implements hook_permission().
File
- ./
auto_username.module, line 11 - Allows a user's username to be assigned based on tokens.
Code
function auto_username_permission() {
return array(
'administer auto username' => array(
'title' => t('Administer auto username'),
),
'use PHP for username patterns' => array(
'title' => t('Use PHP for username patterns'),
'restrict access' => TRUE,
),
);
}