http://drupal.org/update/modules/6/7#remove_op

Only explanation is that $op is going and the only block example is:

/**
* Implementation of hook_block_list().
*/
function system_block_list() {
  // List of blocks
}

It should mention that there are these new hooks to implement:
hook_block_configure modules/block/block.api.php Configuration form for the block.
hook_block_info modules/block/block.api.php Define all blocks provided by the module.
hook_block_info_alter modules/block/block.api.php Act on blocks prior to rendering.
hook_block_save modules/block/block.api.php Save the configuration options.
hook_block_view modules/block/block.api.php Process the block when enabled in a region in order to view its contents.

and that some examples are available in http://api.drupal.org/api/drupal/modules--block--block.api.php/7/source

Comments

jhodgdon’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Correction/Clarification » block.module
Issue tags: +Needs documentation

This is a follow up to #345866: remove $op from hook_block(): Documentation -- which should have been reopened and marked "needs documentation". As it was already filed here, I'll just put it in the right queue.

jhodgdon’s picture

Component: block.module » documentation

There are several other hooks whose doc is also inadequate at that same place.

jhodgdon’s picture

Status: Active » Fixed

I've updated the module update page with more information on these hook updates.
http://drupal.org/update/modules/6/7#remove_op

Status: Fixed » Closed (fixed)
Issue tags: -Needs documentation

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