You are here

function hook_finder_form_state_alter in Finder 7.2

Same name and namespace in other branches
  1. 6 finder.api.php \hook_finder_form_state_alter()

Alter the form state before it is set by finder_form_state().

This is a chance to undo any changes made by the finder form submit function. If you set $form_state['storage']['finished'] to FALSE here then it will prevent any automatic redirects and allow you to make multistep forms.

Parameters

&$form_state: The Forms API form state.

$finder: The finder.

See also

finder_form_state()

1 function implements hook_finder_form_state_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

finder_wizard_finder_form_state_alter in modules/finder_wizard/finder_wizard.module
Implements hook_finder_form_state_alter().
1 invocation of hook_finder_form_state_alter()
finder_form_state in includes/form.inc
Statically 'get' or 'set' the FAPI form state in a per-finder cache.

File

./finder.api.php, line 248
Documents finder's hooks for api reference.

Code

function hook_finder_form_state_alter(&$form_state, $finder) {

  // no example code
}