Update hook_block() API docs for Drupal 7

David_Rothstein - May 6, 2008 - 00:06
Project:Documentation
Component:Documentation in CVS
Category:task
Priority:normal
Assigned:Unassigned
Status:patch (code needs review)
Description

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!

AttachmentSize
hook_block_delta_docs.patch7.98 KB
 
 

Drupal is a registered trademark of Dries Buytaert.