[documentation] [task] Update block_example.module to demo
configuration
drewish
drupal-docs at drupal.org
Wed Nov 16 07:44:41 UTC 2005
Issue status update for
http://drupal.org/node/36490
Post a follow up:
http://drupal.org/project/comments/add/36490
Project: Documentation
Version: <none>
Component: Developer Guide
Category: tasks
Priority: normal
-Assigned to: Anonymous
+Assigned to: drewish
Reported by: drewish
Updated by: drewish
-Status: patch (code needs review)
+Status: fixed
Committed changes to HEAD.
drewish
Previous comments:
------------------------------------------------------------------------
Sat, 05 Nov 2005 21:57:16 +0000 : drewish
Attachment: http://drupal.org/files/issues/block_example.module.patch (5.24 KB)
I've rolled a patch to upate block_example.module so that it
demonstrates building and saving a block configuration form. I think
the code is okay but I'd like some feedback on the inline comments. I
tried to follow the tone of the existing code.
------------------------------------------------------------------------
Sat, 05 Nov 2005 22:07:28 +0000 : drewish
I guess should mention that this is for 4.7 as it uses the new forms
API. It looks like the block configuration was added in 4.6 but not
documented in this example (I say that because the implementation of
hook_block() doesn't have the $edit parameter which was added before
the 4.6 branch).
More information about the documentation
mailing list