drupal_get_form() accepts an arbitrary number of parameters. Any after the initial form_id are simply passed onto its sub-functions, ad eventually to the unique constructor function for the form. Right now, the inline PHPDoc is vague about this. The attached patch adds a bit more text to clarify this.

CommentFileSizeAuthor
formapi_doc_improvement.patch1.96 KBeaton
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch’s picture

Status: Needs review » Reviewed & tested by the community

Still applies with offset. Additional docs look clear even to me.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Yes, that's an improvement. Committed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.