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