function common_test_drupal_goto_alter
Implements hook_drupal_goto_alter().
File
-
modules/
simpletest/ tests/ common_test.module, line 95
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';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.