1.12.x drupal.inc drupal_current_script_url($query = array())
1.10.x drupal.inc drupal_current_script_url($query = array())
1.11.x drupal.inc drupal_current_script_url($query = array())
1.7.x drupal.inc drupal_current_script_url($query = array())

Returns the URL of the current script, with modified query parameters.

Deprecated

since 1.0.0

See also

backdrop_current_script_url()

Related topics

File

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

Code

function drupal_current_script_url($query = array()) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_current_script_url($query);
}