function user_restrictions_form_user_profile_form_alter in User restrictions 7
Implements hook_form_FORM_ID_alter() for user_profile_form().
File
- ./
user_restrictions.module, line 32 - Specifies rules for restricting the data users can set for their accounts.
Code
function user_restrictions_form_user_profile_form_alter(&$form, &$form_state) {
$form['#validate'][] = 'user_restrictions_user_profile_form_validate';
}