You are here

function img_assist_node_form_submit in Image Assist 6

Same name and namespace in other branches
  1. 5.3 img_assist.module \img_assist_node_form_submit()
  2. 5 img_assist.module \img_assist_node_form_submit()
  3. 5.2 img_assist.module \img_assist_node_form_submit()
  4. 6.2 img_assist.module \img_assist_node_form_submit()

Submit callback for image_node_form.

Related topics

1 string reference to 'img_assist_node_form_submit'
img_assist_form_alter in ./img_assist.module
Implementation of hook_form_alter().

File

./img_assist.module, line 672
Image Assist module

Code

function img_assist_node_form_submit($form, &$form_state) {

  // Execute regular node submit handler.
  node_form_submit($form, $form_state);
  if ($form_state['nid']) {

    // Send to different url.
    $form_state['redirect'] = 'img_assist/properties/' . $form_state['nid'];
  }
}