[development] $form_state passed to form function from drupal_get_form()

Lee Rowlands leerowlands at rowlands-bcs.com
Wed Dec 9 01:17:20 UTC 2009


>I haven't seen anything written in 
>PDD or online that indicates that I have to have $form_state as the 
>first parameter in my form function definition when I want to pass it a 
>variable.  Am I missing something?
>From http://api.drupal.org/api/drupal/developer--topics--forms_api.html/6
'Note that the form builder function always takes $form_state as its first
argument'



More information about the development mailing list