This has been recently moved from the API site to the handbooks: http://drupal.org/node/751826
I'd say it's a key component of working with the FormAPI, and a page for the D7 version of this needs to be created.
The first major change I've noticed is that the form callback has different parameters:
D6:
function test_form($form_state) {
D7:
/**
* Form builder; User administration page.
*
* @ingroup forms
* @see user_admin_account_validate()
* @see user_admin_account_submit()
*/
function user_admin_account() {
No parameters on examples in core. And yet func_get_args shows stuff.
Comments
Comment #1
jhodgdonWrong issue queue: Handbook issues go in the Documentation project. Thanks for your interest in this page, though!
Comment #2
joachim commentedRight; but documentation issues on Drupal itself hold up release; in this queue they don't. Is there a D7 issue that should get flagged up as needing documentation?
Comment #3
jhodgdonThere are quite a few APIs in Drupal that need doc for D7. Are we planning to hold up release for them? If so, then file a cricital meta-issue in Drupal project, but I still think the individual issues should be in this queue as they are handbook pages.
Actually, this is particular one is a duplicate of
#709252: Form API docs need updates for Drupal 7
Comment #4
jhodgdon