Hi,

I'm in the process of adding my own FacetAPI Widgets (an expandable taxonomy tree), so I looked at facetapi.php for how to implement hook_facetapi_widgets(). It only lists 'label' and 'class' as the required keys in the array describing each widget. However, 'query type' is also required, and it's used in facetapi_facetapi_widgets().

So I've updated facetapi.php so also list 'query types' as a required key.

-Morten

Comments

cpliakas’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the patch.

Closing #1407580: Document handler 'query types' in hook_facetapi_widgets() as a dup of this issue since this one has a patch.

Marking as RTBC, comment looks good.

cpliakas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.