You are here

function user_admin_access_check_validate in Drupal 6

Same name and namespace in other branches
  1. 4 modules/user.module \user_admin_access_check_validate()
  2. 5 modules/user/user.module \user_admin_access_check_validate()
3 string references to 'user_admin_access_check_validate'
user_admin_check_host in modules/user/user.admin.inc
user_admin_check_mail in modules/user/user.admin.inc
user_admin_check_user in modules/user/user.admin.inc

File

modules/user/user.admin.inc, line 806
Admin page callback file for the user module.

Code

function user_admin_access_check_validate($form, &$form_state) {
  if (empty($form_state['values']['test'])) {
    form_set_error($form_state['values']['type'], t('No value entered. Please enter a test string and try again.'));
  }
}