You are here

function install_redirect_url in Drupal 9

Same name and namespace in other branches
  1. 8 core/includes/install.core.inc \install_redirect_url()
  2. 7 includes/install.core.inc \install_redirect_url()
  3. 10 core/includes/install.core.inc \install_redirect_url()

Returns the URL that should be redirected to during an installation request.

The output of this function is suitable for sending to install_goto().

Parameters

$install_state: An array of information about the current installation state.

Return value

The URL to redirect to.

See also

install_full_redirect_url()

3 calls to install_redirect_url()
install_download_translation in core/includes/install.core.inc
Download a translation file for the selected language.
install_drupal in core/includes/install.core.inc
Installs Drupal either interactively or via an array of passed-in settings.
install_full_redirect_url in core/includes/install.core.inc
Returns the complete URL redirected to during an installation request.

File

core/includes/install.core.inc, line 988
API functions for installing Drupal.

Code

function install_redirect_url($install_state) {
  return 'core/install.php?' . UrlHelper::buildQuery($install_state['parameters']);
}