Closed (fixed)
Project:
Facet API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2011 at 21:26 UTC
Updated:
10 Jan 2012 at 21:00 UTC
Jump to comment: Most recent file
Facet API defines a lot of hooks, so it should implement hook_hook_info() so that modules can group their implementations in a MODULE.facetapi.inc include file.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | facetapi-1376586-3.patch | 9.87 KB | cpliakas |
| #2 | facetapi-1376586-2.patch | 5.81 KB | cpliakas |
Comments
Comment #1
cpliakas commentedIf we separated out all hooks other than hook_facetapi_searcher_info() into a facetapi.facetapi.in file, we could prevent a couple hundred lines of code from loading on non-search pages.
Comment #2
cpliakas commentedWe also had to omit hook_facetapi_facet_info(). We might be able to add this hook to the list if we cache the return value.
Comment #3
cpliakas commentedAdded facetapi.facetapi.inc file to patch.
Comment #4
cpliakas commentedCommitted at http://drupalcode.org/project/facetapi.git/commit/a3f046e.