1.20.x drupal.inc drupal_get_js($scope = 'header', $javascript = NULL, $skip_alter = FALSE)

Returns a themed presentation of all JavaScript code for the current page.

Deprecated

since 1.0.0

See also

backdrop_get_js()

Related topics

File

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

Code

function drupal_get_js($scope = 'header', $javascript = NULL, $skip_alter = FALSE) {
  return backdrop_get_js($scope, $javascript, $skip_alter);
}