You are here

function simplify_form_block_add_block_form_alter in Simplify 7.3

Implements hook_form_FORM_ID_alter() for block_add_block_form.

File

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

Code

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

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

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