Closed (fixed)
Project:
Documentation
Component:
Developer Guide
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Nov 2005 at 21:57 UTC
Updated:
30 Nov 2005 at 08:01 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| block_example.module.patch | 5.24 KB | drewish |
Comments
Comment #1
drewish commentedI 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).
Comment #2
drewish commentedCommitted changes to HEAD.
Comment #3
(not verified) commented