function views_form_views_form_validate

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

Validate handler for the first step of the views form. Calls any existing views_form_validate functions located on the views fields.

1 string reference to 'views_form_views_form_validate'
views_form_views_form in sites/all/modules/ulmus/views/views.module
Callback for the main step of a Views form. Invoked by views_form().

File

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

Code

function views_form_views_form_validate($form, &$form_state) {
  $view = $form_state['build_info']['args'][0];

  // Call the validation method on every field handler that has it.
  foreach ($view->field as $field_name => $field) {
    if (method_exists($field, 'views_form_validate')) {
      $field->views_form_validate($form, $form_state);
    }
  }

  // Call the validate method on every area handler that has it.
  foreach (array('header', 'footer') as $area) {
    foreach ($view->{$area} as $area_name => $area_handler) {
      if (method_exists($area_handler, 'views_form_validate')) {
        $area_handler->views_form_validate($form, $form_state);
      }
    }
  }
}
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.