function common_test_drupal_goto_alter
7.x common_test.module | common_test_drupal_goto_alter(&$path, &$options, &$http_response_code) |
Implements hook_drupal_goto_alter().
File
- drupal-7.x/
modules/ simpletest/ tests/ common_test.module, line 89 - 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';
}
}