Created
June 10, 2014 04:49
-
-
Save flashvnn/90a5a5c00234f67417eb to your computer and use it in GitHub Desktop.
Drupal redirect with params
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function module_form_course_node_form_submit($form, &$form_state) { | |
| $form_state['redirect'] = array( | |
| 'node/'. $form_state['nid']. '/edit', | |
| array( | |
| 'query' => array( | |
| 'cmd' => $cmd, | |
| ), | |
| ), | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment