[drupal-devel] needed documentation for block module for 4.6

Moshe Weitzman weitzman at tejasa.com
Mon Jan 24 16:04:58 UTC 2005


I am upgrading recipe.module now like a good citizen. I find these 
instructions unlikely:

"The only required changes to modules implementing hook_block() is to be 
careful about what is returned. Do not return anything if $op is not 
'list' or 'view'".

But those are the only $op values according to 
http://drupaldocs.org/api/head/function/hook_block. Perhaps we need to 
document 'configure' and other operations? I have not followed these 
changes very closely.



More information about the drupal-devel mailing list