You are here

function user_restrictions_form_user_register_form_alter in User restrictions 7

Same name and namespace in other branches
  1. 8 user_restrictions.module \user_restrictions_form_user_register_form_alter()

Implements hook_form_FORM_ID_alter() for user_register_form().

File

./user_restrictions.module, line 39
Specifies rules for restricting the data users can set for their accounts.

Code

function user_restrictions_form_user_register_form_alter(&$form, &$form_state) {
  $form['#validate'][] = 'user_restrictions_user_register_form_validate';
}