summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-04 15:58:57 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-04 15:58:57 +0000
commit67ae364b46eef4be85aafc8cdee33e0a339d2051 (patch)
tree6b4fc04838da04eb223941853d8e89541761f64a /modules/search
parent92341bdf40e715beb923824f10ac989fa6597512 (diff)
downloadbrdo-67ae364b46eef4be85aafc8cdee33e0a339d2051.tar.gz
brdo-67ae364b46eef4be85aafc8cdee33e0a339d2051.tar.bz2
- Patch #394182 by jhodgdon: documentation improvement
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.module5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 5a521dcdf..81d4251f5 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.
*