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
| Comment | File | Size | Author |
|---|---|---|---|
| facetapi-Update-facetapi.api-to-include-query-type-for-widgets.patch | 711 bytes | fangel |
Comments
Comment #1
cpliakas commentedThanks 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.
Comment #2
cpliakas commentedCommitted at http://drupalcode.org/project/facetapi.git/commit/eaa021d.