You are here

function views_form_submit in Views (for Drupal 7) 6.3

The basic form submit handler. Fires the hook_views_form_submit() function.

2 string references to 'views_form_submit'
views_form in ./views.module
This is the entry function. Just gets the form for the current step. The form is always assumed to be multistep, even if it has only one step (the default 'views_form_views_form' step). That way it is actually possible for modules to have a…
views_form_views_form_submit in ./views.module
Submit handler for the first step of the views form. Calls any existing views_form_submit functions located on the views fields.

File

./views.module, line 1258
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_form_submit($form, &$form_state) {

  // Fire the hook. Doesn't use module_invoke_all() because $form_state needs
  // to be passed by reference.
  foreach (module_implements('views_form_submit') as $module) {
    $function = $module . '_views_form_submit';
    $function($form, $form_state);
  }
}