Many forms especially need to access and modify the $form_state array, so I'm a little unclear why it shouldn't have those as required arguments defined in the interface. Patch to follow.

Comments

joe-b created an issue. See original summary.

joe-b’s picture

StatusFileSize
new1.37 KB

Here's a patch that adds this functionality.

jidrone’s picture

Version: 7.x-1.1 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new2.68 KB

I created a patch for the last dev version, this fix the form, form_state and makes posible to send more arguments as usual in Drupal forms.

I also add code in examples to see how to use it.

  • pedrorocha committed 17d88b8 on 7.x-2.x
    Issues #2714575, #2828809, #2579269 by pedrorocha, joe-b, jidrone, manu...

pedrorocha’s picture

Status: Needs review » Fixed

Fixed on 2.0 release

Status: Fixed » Closed (fixed)

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