You are here

function hook_finder_goto in Finder 6

Same name and namespace in other branches
  1. 7.2 finder.api.php \hook_finder_goto()

Redirect to the first result.

The base handler module is expected to redirect the user based on the $result by implementing this function.

Parameters

$finder: The finder object.

$result: The result array.

3 functions implement hook_finder_goto()

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

finder_node_finder_goto in modules/finder_node/finder_node.module
Implementation of hook_finder_goto().
finder_user_finder_goto in modules/finder_user/finder_user.module
Implementation of hook_finder_goto().
finder_views_finder_goto in modules/finder_views/finder_views.module
Implementation of hook_finder_goto().
1 invocation of hook_finder_goto()
finder_results in ./finder.module
Create finder results output.

File

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

Code

function hook_finder_goto($finder, $result) {

  // no example code
}