You are here

function myform_submit in Coder 5.2

Same name and namespace in other branches
  1. 5 tests/coder_6x.inc \myform_submit()

File

tests/coder_6x.inc, line 176
This file implements tests for the Drupal 6.x upgrade.

Code

function myform_submit($form_id, $form) {

  // This will fail.
  $form['#submit']['newsubmit'] = array();
  $form['#submit'][] = "newsubmit";
  return $foo;

  // Not ok.
  return 'my/path';

  // Not ok.
}