I'm using hook_form_alter() on the form for editing and adding nodequeues ($form_id == 'nodequeue_edit_queue_form')
When a user adds a new nodequeue and submits the form, the new nodequeue is saved to the database and receives a qid. The control then passes to extra submit handlers defined by any hook_form_alter()s, however those extra submit handlers don't receive this qid.
This patch is a proposal to provide this qid in the $form_state so that new nodequeues will provide a qid in the same way that editing existing nodequeues provide it.
| Comment | File | Size | Author |
|---|---|---|---|
| nodequeue_form_qid.patch | 365 bytes | daniboy |
Comments
Comment #1
ezra-g commentedCommitted, thanks!