1 common_test.module common_test_backdrop_goto_alter(&$path, &$options, &$http_response_code)

Implements hook_backdrop_goto_alter().

File

core/modules/simpletest/tests/common_test.module, line 100
Helper module for the Common tests.

Code

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