You are here

function simplify_form_user_register_form_alter in Simplify 7.3

Same name and namespace in other branches
  1. 8 simplify.module \simplify_form_user_register_form_alter()

Implements hook_form_FORM_ID_alter() for user_register_form.

File

./simplify.module, line 358
Simplifies the user interface by hiding particular fields.

Code

function simplify_form_user_register_form_alter(&$form, &$form_state, $form_id) {

  // Get array of fields to hide
  $fields = variable_get('simplify_users_global', array());

  // Hide fields
  simplify_hide_fields($fields, $form);
}