Skip to content
Snippets Groups Projects
Commit 67ae364b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #394182 by jhodgdon: documentation improvement

parent 92341bdf
No related branches found
No related tags found
No related merge requests found
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment