If the form-id passed to drupal_get_form() is found as a function name, then that function is called to build the form, and any additional arguments to drupal_get_form() are passed on to the form constructor function.

Starting with D6, these form builder functions receive the new &$form_state as arg0.

See the second part of http://drupal.org/node/144132#multistep.

It would be helpful to have this check added to the upgrading checks.

Thanks for a very useful module!

Comments

klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Coder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.