[documentation] [bug] hook_block example configure op incorrect code

drewish drupal-docs at drupal.org
Tue Nov 29 17:08:51 UTC 2005


Issue status update for 
http://drupal.org/node/39317
Post a follow up: 
http://drupal.org/project/comments/add/39317

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  wtanaka
 Updated by:   drewish
-Status:       active
+Status:       fixed

You're right, it doesn't do much good if you don't return it.


I've fixed it in CVS. It'll end up on the website before too long.




drewish



Previous comments:
------------------------------------------------------------------------

Tue, 29 Nov 2005 15:39:25 +0000 : wtanaka

http://drupaldocs.org/api/head/function/hook_block


  else if ($op == 'configure' && $delta == 0) {


that section should probably end with a return $form;






More information about the documentation mailing list