stock.xchng - hook (stock photo by ismailbuke)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

    The content of this field is kept private and will not be shown publicly.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.

    More information about formatting options