You are here

Functions in User protect 7

Primary tabs

Namesort descending Location Description Direct uses Strings
theme_userprotect_admin_role_table ./userprotect.admin.inc Themes the role protections table.
theme_userprotect_protections_bypass ./userprotect.admin.inc Themes the protected users table.
userprotect_add_user ./userprotect.module Adds a user to the protections table. 2
userprotect_administrator_bypass ./userprotect.admin.inc Builds a table of user admin bypass values. 1
userprotect_administrator_bypass_defaults ./userprotect.module Builds an array of the inital default bypass settings for user admins. 2 7
userprotect_check_bypass ./userprotect.module Checks to see if the current user can bypass a protection. 6 1
userprotect_delete_user ./userprotect.module Deletes all protections for a user. 2
userprotect_display_protections ./userprotect.module Builds a displayable text string of the protections currently in effect for the specified user. 2
userprotect_form_alter ./userprotect.module Implements hook_form_alter().
userprotect_form_display_protections ./userprotect.module Conditionally displays a user message on edit forms listing current protections. 2
userprotect_form_user_profile_form_alter ./userprotect.module Implements hook_form_user_profile_form_alter().
userprotect_get_protection_display ./userprotect.module Builds an array of all protections and their human-readable text string. 4
userprotect_get_username ./userprotect.module Gives the username of a protected user. 1
userprotect_get_user_protection ./userprotect.module Checks to see if the specified user has the specified protection. 5
userprotect_help ./userprotect.module Implements hook_help().
userprotect_install ./userprotect.install Implements hook_install().
userprotect_menu ./userprotect.module Implements hook_menu().
userprotect_menu_alter ./userprotect.module Implements hook_menu_alter().
userprotect_permission ./userprotect.module Implements hook_permission().
userprotect_protected_roles ./userprotect.admin.inc Builds a form for the role protection settings. 1
userprotect_protected_users ./userprotect.admin.inc Builds a table of protected users, and their protections. 1
userprotect_protected_users_delete_form ./userprotect.admin.inc Menu callback. Removes a user from being protected, or removes an administrator bypass. 1
userprotect_protected_users_delete_form_submit ./userprotect.admin.inc Submit function for the delete confirmation form.
userprotect_protections_bypass ./userprotect.admin.inc Helper function. Builds tables for protected users and admin bypass. 2
userprotect_protections_bypass_submit ./userprotect.admin.inc Processes the submitted user protection form. 1
userprotect_protection_defaults ./userprotect.admin.inc Builds a form for the userprotect default settings. 4
userprotect_schema ./userprotect.install Implements hook_schema().
userprotect_test_init tests/userprotect_test.module Implements hook_init().
userprotect_test_views_api tests/userprotect_test.module Implements hook_views_api().
userprotect_test_views_default_views tests/userprotect_test.views_default.inc Implements hook_views_default_views().
userprotect_theme ./userprotect.module Implements hook_theme().
userprotect_uninstall ./userprotect.install Implements hook_uninstall().
userprotect_update_7000 ./userprotect.install Changes up_delete to up_cancel, in line with core's change from user delete to user cancel.
userprotect_update_7001 ./userprotect.install Grants the 'edit own account' permission to all roles.
userprotect_update_last_removed ./userprotect.install Implements hook_update_last_removed().
userprotect_up_add_validate ./userprotect.admin.inc Custom validation function for adding a user for protection. 1
userprotect_user_admin_account_validate ./userprotect.module Custom validation function for protecting users from the user administration operations. 2
userprotect_user_cancel ./userprotect.module Implements hook_user_cancel().
userprotect_user_cancel_access ./userprotect.module Access callback for user cancel pages. 1
userprotect_user_delete ./userprotect.module Implements hook_user_delete().
userprotect_user_edit_access ./userprotect.module Access callback for user edit pages. 1
userprotect_user_edit_fields_validate ./userprotect.module Custom validation function for complex field protections. 1
userprotect_user_insert ./userprotect.module Implements hook_user_insert().
userprotect_user_protection_defaults ./userprotect.module Builds an array of the inital default protections. 7
userprotect_views_bulk_operations_form_alter ./userprotect.module Implements hook_views_bulk_operations_form_alter().

Other projects