"hook_block has been split into a number of smaller hooks." links to http://api.drupal.org/api/function/hook_block/7 instead of http://api.drupal.org/api/function/hook_block/6

Comments

solotandem’s picture

Component: Coder Upgrade » Review/Rules

The link should refer to Drupal 7 API and a better link would be: http://api.drupal.org/api/search/7/hook_block.

frank ralf’s picture

Well, usually the first link points to the old (replaced) API while the new API is linked via "Drupal Docs". You will need either information to see what has changed and how.

douggreen’s picture

Status: Active » Fixed

agreed we should link the 6.x docs on this warning since the hook only exists in 6.x and not 7.x, fixed, thanks

frank ralf’s picture

Thanks for fixing!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.