Skip to main content
added 20 characters in body
Source Link
Chapabu
  • 13.9k
  • 2
  • 40
  • 58

Eugene is correct though, although for D7 your submit handler should contain $form_state['redirect'] = 'some/url'$form_state['redirect'] = 'some/url'. 

You can see howlook at the core node_form_submitnode_form_submit() function to see how Drupal core handles it similarlythis.

Eugene is correct though for D7 your submit handler should contain $form_state['redirect'] = 'some/url'. You can see how the core node_form_submit function handles it similarly.

Eugene is correct, although for D7 your submit handler should contain $form_state['redirect'] = 'some/url'. 

You can look at the node_form_submit() function to see how Drupal core handles this.

Source Link

Eugene is correct though for D7 your submit handler should contain $form_state['redirect'] = 'some/url'. You can see how the core node_form_submit function handles it similarly.