It has been replaced with hook_search_info().

Patch to follow momentarily.

benjamin, agaric

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mlncn’s picture

Priority: Normal » Minor
Status: Active » Needs review
FileSize
0 bytes

This code also defines this documentation page http://api.drupal.org/api/group/search/7 so the patch also fixes that. Since hook_search_execute() can still be used, this is the only documentation change.

mlncn’s picture

with a patch with content this time!

jhodgdon’s picture

Good catch. I'm not sure I am completely happy with the solution, because it's not just hook_search_info() that would be used to implement searching. Maybe it should say "without hook_search_info() and related hooks". ?

andrew.elvis’s picture

Status: Needs review » Reviewed & tested by the community

I guess that works.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. If we want to refine the documentation, feel free to re-open the issue. No problemo. :)

mlncn’s picture

Status: Fixed » Needs review

From my reading of the code, you could - and likely would - use hook_search_execute with your custom tab with extra form fields, and i don't know that there are any other hooks tightly coupled to hook_search_info(), so the five character patch may do it.

mlncn’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Documentation

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