[development] Drupal 7 API Change notification: search_data, hook_search_page, drupal_placeholder

Randy Fay randy at randyfay.com
Thu Aug 19 04:20:40 UTC 2010


*We try to notify this list when API changes are made in Drupal 7, so
contrib and custom developers have a chance to fix their code before they
have the pain of figuring out why it's broken.

**1. (issue <http://drupal.org/node/839524>) *Several Search APIs changed:

   - search_data() return value has changed to be a renderable array rather
   than rendered HTML
   - hook_search_page() return value has changed to be a renderable array
   rather than rendered HTML
   - theme('search_result') and theme('search_results') and their
   templates/processing functions now use a 'module' argument/variable in place
   of 'type'

2. (issue <http://drupal.org/node/885000>) drupal_placeholder() now takes a
string as an argument instead of an array.

Thanks,
-Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100818/e15bd1ed/attachment.html 


More information about the development mailing list