You are here

function hook_finder_find_keywords_alter in Finder 6

Alter the keywords array used in finder_find().

Parameters

&$keywords: An array keyed by finder_element_id, where the values are any str/num/bool/null or an array of such values to be OR'd together.

$finder: The finder object.

$finder_element_id: If $mode is 'choices', this is the finder element id to get choices for.

$mode: 'choices' or 'results' depending on what we are fetching.

$match: The match method, see finder_match_operator().

$pager: Used to limit choices or results per page.

1 invocation of hook_finder_find_keywords_alter()
finder_find in ./finder.module
Get a list of choices for form or results.

File

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

Code

function hook_finder_find_keywords_alter(&$keywords, $finder, $finder_element_id, $mode, $match, $pager) {

  // no example code
}