26 июл. 2011 г.

Drupal 7 uses different hooks

Drupal 7 doesn't use anymore hook_nodeapi(), but it uses a set of new hooks called hook_node_$op(), where $op is the parameter passed to hook_nodeapi() in Drupal 6. See Converting 6.x modules to 7.x for more details.
overview: node_api_hooks