userone_admin_access |
./userone.module |
|
|
1 |
userone_admin_settings |
./userone.module |
|
|
1 |
userone_block_info |
./userone.module |
Implements hook_block_info(). |
|
|
userone_block_ips |
./userone.module |
|
|
2 |
userone_block_view |
./userone.module |
Implements hook_block_view().
Code is identical from user_block_view() except it excludes user 1 in the count. |
|
|
userone_edit_access |
./userone.module |
Augment core's user_edit_access().
Block edit access to user 1 account. |
|
1 |
userone_form_user_admin_account_alter |
./userone.module |
Implements hook_form_alter().
Hide user 1 in the user listing at admin/people |
|
|
userone_form_user_login_alter |
./userone.module |
Implements hook_form_FORM_ID_alter().
Append to the list of core validators to block IPs.
Duplicate code to avoid using hook_form_alter() for better performance. |
|
|
userone_form_user_login_block_alter |
./userone.module |
|
|
|
userone_help |
./userone.module |
Implements hook_help(). |
|
|
userone_mail |
./userone.module |
|
|
|
userone_menu |
./userone.module |
Implements hook_menu(). |
|
|
userone_menu_alter |
./userone.module |
Implements hook_menu_alter().
To prevent users from editing user 1 account. |
|
|
userone_preprocess_user_list |
./userone.module |
Implements hook_preprocess_HOOK().
Removes user 1 from the user list; affects blocks, Who's New and Who's Online. |
|
|
userone_uninstall |
./userone.install |
Implements hook_uninstall(). |
|
|
userone_user_view |
./userone.module |
Implements hook_user_view().
Block viewing user 1 profile and redirect to one's own. |
|
|