1 system.api.php hook_backdrop_goto_alter(&$path, &$options, &$http_response_code)

Change the page the user is sent to by backdrop_goto().


$path: A Backdrop path or a full URL.

$options: An associative array of additional URL options to pass to url().

$http_response_code: The HTTP status code to use for the redirection. See backdrop_goto() for more information.

Related topics


core/modules/system/system.api.php, line 3436
Hooks provided by Backdrop core and the System module.


function hook_backdrop_goto_alter(&$path, &$options, &$http_response_code) {
  // A good addition to misery module.
  $http_response_code = 500;