You are here

function hook_filter_harmonizer_set_alter in Views Filter Harmonizer 7

Allow other modules to change the filling-out of the exposed filter form.

Parameters

array $data: An array of 5 elements, as follows:

array $form The form. array $form_state The form state. object $contextual_filter The contextual filter handler. object $regular_filter The regular (exposed) filter handler. array $filter_values The filter value(s) set on the exposed filter.

1 function implements hook_filter_harmonizer_set_alter()

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

filter_harmonizer_filter_harmonizer_set_alter in plugins/filter_harmonizer_geofield.inc
Implements hook_filter_harmonizer_set_alter().
1 invocation of hook_filter_harmonizer_set_alter()
filter_harmonizer_views_exposed_form_submit in ./filter_harmonizer.module
Supplementary submit handler for 'views_exposed_form'.

File

./filter_harmonizer.api.php, line 26
This file contains no working PHP code; it's here to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_filter_harmonizer_set_alter(&$data) {

  // See plugins/filter_harmonizer_geofield.inc for an example.
}