From 67ae364b46eef4be85aafc8cdee33e0a339d2051 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 4 Dec 2009 15:58:57 +0000 Subject: [PATCH] - Patch #394182 by jhodgdon: documentation improvement --- modules/search/search.module | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/search/search.module b/modules/search/search.module index 5a521dcdfb1..81d4251f5e0 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -826,8 +826,9 @@ function search_get_keys() { * by hook_view() and hook_node_view(). This is usually sufficient. You should * only use this mechanism if you want additional, non-visible data to be * indexed. - * - Implement hook_search(). This will create a search tab for your module on - * the /search page with a simple keyword search form. + * - Implement hook_search_info(). This will create a search tab for your module on + * the /search page with a simple keyword search form. You will also need to + * implement hook_search_execute() to perform the search. * - Implement hook_update_index(). This allows your module to use Drupal's * HTML indexing mechanism for searching full text efficiently. *