Lots of form attributes specify callbacks. The description should give the function parameters.
#element_validate is a good model to follow.
Attributes missing function parameters include #theme and #process.
Lots of form attributes specify callbacks. The description should give the function parameters.
#element_validate is a good model to follow.
Attributes missing function parameters include #theme and #process.
Comments
Comment #1
aspilicious commentedjhodgdon will have an answer on this question.
Comment #2
jn2 commentedTags
Comment #3
jhodgdonI think we should probably postpone this for the time being. We need to focus our efforts on figuring out how to get this automatically generated. Sigh.
Comment #4
jn2 commented@jhodgdon
Friday morning, looked for you on IRC to discuss, but you must be busy.
See my post at http://drupal.org/node/100680#comment-4649760. (Crazy, huh?)
Comment #5
sunsubscribing, just in case there's something to review here. Also happy to review a patch against the FAPI reference doc.
Comment #6
jn2 commented@sun
Patches don't work well against the FAPI reference. I've been editing directly, then pushing. If someone gives me most of the information I need, I include their name in the commit message.
There's an issue to document the 'container' element #1169954: FAPI container element is not documented that could really use your attention. It's not exactly a patch, but it includes what I will put into the document. If you review comment #6, I'll incorporate the results into the edit and include you in the commit.
Comment #7
jhodgdonTagging so #1421874: [meta] Documentation Issue Queue Cleanup doesn't have to look at API docs issues.
Comment #8
quietone commentedThanks for working to improve Drupal.
This is for the Drupal 7 Form API reference. Since Drupal 7 is past end-of-life this is now a "won't fix".
Work on documentation for form elements for supported versions of Drupal is at #2486967: [meta] Move/Create Form Element Documentation and #3313535: [Meta] Improve documentation for Render and Form Elements.