On Sun, Oct 12, 2008 at 5:05 PM, Angela Byron
<drupal-devel@webchick.net> wrote:
I just rolled the second in the series of Drupal 7 unstable releases for developers (see http://lists.drupal.org/pipermail/development/2008-October/031094.html for more info). Among the highlights this release are:
* Also in additional hooks, hooks are now fired whenever modules are installed, uninstalled, enabled, or disabled. See http://api.drupal.org/api/search/7/hook_modules for more info. This should pave the way for some nice DX patches in future unstable releases.
* In the DX clean-up realm, hook_user() and hook_nodeapi()'s $op parameters are now gone. Instead of having to switch on $op and figure out what in the world '$arg1' is in the 'load' context (UGH), you instead implement hook_nodeapi_load(&$node, $teaser, $page) and know exactly what you're dealing with.