You are here

function hook_facetapi_widget_info in Facet API 6

Defines display widgets the block realm uses to theme facets.

Return value

An associative array containing:

  • name: The machine readable name of the widget.

    • title: Human readable name of the widget.
    • callback: Callback function used to theme the facets.
    • widget requirements: An array of requrements that must be met for a facet to use the widget.
    • weight: The weight of the widget when displayed in forms.
1 function implements hook_facetapi_widget_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_widget_info in ./facetapi.module
Implementation of hook_facetapi_widget_info().
1 invocation of hook_facetapi_widget_info()
facetapi_widgets_get in ./facetapi.module
Invokes hook_facetapi_widget_info(), returns all defined widgets.

File

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

Code

function hook_facetapi_widget_info() {
}