Per http://drupal.org/update/modules/6/7#hook_forms_signature, drupal_get_form() now returns a renderable array, and hook_forms() (the form function called back by drupal_get_form) has a changed signature. This is in the update doc, as you see, but it caused me a lot of pain and I wanted to make sure developers get this pointed out.

Thanks for your work on this marvelous resource.

Comments

rfay’s picture

I was on something. It's not hook_forms(). I don't know where the callback is documented. And the return from drupal_get_form() was documented elsewhere in the 6/7 module update guide.

However, the core issue here remains: Handling the change to the callback, as (updated) described in http://drupal.org/update/modules/6/7#hook_forms_signature

Thanks again.

anoopjohn’s picture

Issue summary: View changes

Can you please clarify as to what is expected to be done in coder?

klausi’s picture

Component: Code » Coder Upgrade
Status: Active » Closed (outdated)

I think this was related to Coder Upgrade, which is feature frozen now.