Community Documentation

Add searching to your custom module

Last updated August 4, 2010. Created by quicksand on September 17, 2005.
Edited by LeeHunter, bekasu, Amazon. Log in to edit this page.

In order to have a custom module be searched the module must support the search hook. Read the Drupal API for the hook_search.

For 4.7 on the new API site:

http://api.drupal.org/api/4.7/function/hook_search

About this page

Drupal version
Drupal 4.6.x, Drupal 4.7.x, Drupal 5.x, Drupal 6.x, Drupal 7.x
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here