function hook_facetapi_query_types in Facet API 7.2
Same name and namespace in other branches
- 6.3 facetapi.api.php \hook_facetapi_query_types()
- 7 facetapi.api.php \hook_facetapi_query_types()
Define all query type plugins provided by the module.
See the FacetapiQueryTypeInterface docblock for more information on what query type plugins do and what their responsibilities are.
Return value
array An associative array keyed by unique name of the query type. Each query type is an associative array keyed by "handler" containing:
- class: The name of the plugin class.
- adapter: The adapter that the query type plugin is associated with.
See also
1 function implements hook_facetapi_query_types()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- facetapi_test_facetapi_query_types in tests/
facetapi_test.facetapi.inc - Implements hook_facetapi_query_types().
File
- ./
facetapi.api.php, line 424 - Hooks provided by the Facet API module.
Code
function hook_facetapi_query_types() {
return array(
'apachesolr_term' => array(
'handler' => array(
'class' => 'FacetapiApachesolrTerm',
'adapter' => 'apachesolr',
),
),
);
}