[development] Drupal 7 API Change notification: Search/fields/CSS&JS Aggregation

Randy Fay randy at randyfay.com
Sat Aug 7 19:10:08 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. *Search API Changes: *in (issue <http://drupal.org/node/567100>) a
   number of search changes were made. The signatures of the *search_data*()
   and *search_view*() functions were changed.
   2. *hook_fields_extra_fields() changed*:
(issue<http://drupal.org/node/870292>)
   If your module implements hook_field_extra_fields() and the return values
   can vary depending on external conditions (module settings, whatever), you
   need to call field_info_cache_clear() whenever the conditions changes.
   3. *JS and CSS preprocess changed to FALSE*:
(issue<http://drupal.org/node/769226>):
   Where Drupal 7 modules have been using drupal_add_css() or drupal_add_js(),
   the default was previously to aggregate/preprocess the added file. This has
   been changed to *not* aggregate by default.


-Randy


-- 
> Randy Fay
> Drupal Module and Site Development
> randy at randyfay.com
> +1  970.462.7450
>
>


-- 
Randy Fay
Drupal Module and Site Development
randy at randyfay.com
+1  970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100807/86f33471/attachment.html 


More information about the development mailing list