You are here

function common_test_drupal_goto_alter in SimpleTest 7

Implement hook_drupal_goto_alter().

File

tests/common_test.module, line 65
Helper module for the Common tests.

Code

function common_test_drupal_goto_alter(&$path, &$options, &$http_response_code) {
  if ($path == 'common-test/drupal_goto/fail') {
    $path = 'common-test/drupal_goto/redirect';
  }
}