You are here

function hook_finder_form_state_alter in Finder 6

Same name and namespace in other branches
  1. 7.2 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_id: The finder's ID.

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_optionwidgets_finder_form_state_alter in modules/finder_optionwidgets/finder_optionwidgets.module
Implementation of hook_finder_form_state_alter().
1 invocation of hook_finder_form_state_alter()
finder_form_state in includes/finder.form.inc
Statically 'get' or 'set' the FAPI form state in a per-finder cache.

File

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

Code

function hook_finder_form_state_alter(&$form_state, $finder_id) {

  // no example code
}