1 drupal.inc drupal_goto($path = '', array $options = array(), $http_response_code = 302)

Sends the user to a different page.

Deprecated

since 1.0.0

See also

backdrop_goto()

Related topics

File

core/includes/drupal.inc, line 659
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_goto($path = '', array $options = array(), $http_response_code = 302) {
  backdrop_goto($path, $options, $http_response_code);
}