This patch updates the hook_block() and block_example_block() API docs for Drupal 7, to reflect the changes in http://drupal.org/node/216072 (it is now strongly preferred that modules use strings rather than integers for the $delta parameter, since this is much more friendly for themers and in general makes for more readable code)...

Thanks!

CommentFileSizeAuthor
hook_block_delta_docs.patch7.98 KBDavid_Rothstein

Comments

brunodbo’s picture

Changed the component to reflect the new component categorization. See http://drupal.org/node/301443.

Barry Madore’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Documentation in CVS » documentation

Moving

Patch failed to apply. More information can be found at http://testing.drupal.org/node/13906. If you need help with creating patches please look at http://drupal.org/patch/create

Patch failed to apply. More information can be found at http://testing.drupal.org/node/13905. If you need help with creating patches please look at http://drupal.org/patch/create

dries’s picture

Status: Needs review » Needs work
gdd’s picture

Status: Needs work » Fixed

These changes look good and the code works, commited.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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