You are here

function hook_facetapi_sort_info in Facet API 6

Same name and namespace in other branches
  1. 6.3 facetapi.api.php \hook_facetapi_sort_info()
  2. 7.2 facetapi.api.php \hook_facetapi_sort_info()
  3. 7 facetapi.api.php \hook_facetapi_sort_info()

Allows modules to define custom sorting routines for facet items.

Return value

An array of sort information.

1 function implements hook_facetapi_sort_info()

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

facetapi_facetapi_sort_info in ./facetapi.module
Implementation of hook_facetapi_sort_info().
1 invocation of hook_facetapi_sort_info()
facetapi_sorts_get in ./facetapi.module
Invokes hook_facetapi_sort_info(), returns all defined sorts.

File

./facetapi.api.inc, line 249
Defines and gives example implementations of all Facet API hooks.

Code

function hook_facetapi_sort_info() {
}