Jul
13
Undocumented hook: hook_search_page() missing from Drupal API
Mon, 07/13/2009 - 20:20
While developing a module for search I was looking for a way to override the output of search results before they were displayed out on the page. I flipped through the pages of the book Pro Drupal Development and read about hook_search_page(). From the description it looked like just what I needed and I went to api.drupal.org to investigate further. To my surprise, I didn't find any information in the API and then turned to Google to see if I missed something. Come to find out that this was indeed a mistake and had not been included in the API. Apparently this documentation has been missing since a late 4.7 which was released in 2006. A bug was filed for this issue on Drupal.org and a patch has been submitted with the correction to the documentation so you expect to see this added in shortly.
Post new comment