function views_form_views_exposed_form_alter

cis7 views.module views_form_views_exposed_form_alter(&$form, &$form_state)
cle7 views.module views_form_views_exposed_form_alter(&$form, &$form_state)
elmsmedia7 views.module views_form_views_exposed_form_alter(&$form, &$form_state)
icor7 views.module views_form_views_exposed_form_alter(&$form, &$form_state)
meedjum_blog7 views.module views_form_views_exposed_form_alter(&$form, &$form_state)
mooc7 views.module views_form_views_exposed_form_alter(&$form, &$form_state)

Implement hook_form_alter for the exposed form.

Since the exposed form is a GET form, we don't want it to send a wide variety of information.

File

sites/all/modules/ulmus/views/views.module, line 2024
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_form_views_exposed_form_alter(&$form, &$form_state) {
  $form['form_build_id']['#access'] = FALSE;
  $form['form_token']['#access'] = FALSE;
  $form['form_id']['#access'] = FALSE;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.