Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
common.inc
»
drupal_get_js
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
24 calls to drupal_get_js()
AjaxResponse::ajaxRender
in drupal/
core/
lib/
Drupal/
Core/
Ajax/
AjaxResponse.php
Prepares the AJAX commands for sending back to the client.
ajax_render
in drupal/
core/
includes/
ajax.inc
Renders a commands array into JSON.
FrameworkTest::testLazyLoad
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Ajax/
FrameworkTest.php
Tests that new JavaScript and CSS files are lazy-loaded on an AJAX request.
FrameworkTest::testOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Ajax/
FrameworkTest.php
Tests AjaxResponse::prepare() AJAX commands ordering.
JavaScriptTest::testAggregatedAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests that attributes are maintained when JS aggregation is enabled.
JavaScriptTest::testAggregation
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript grouping and aggregation.
JavaScriptTest::testAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests altering a JavaScript's weight via
hook_js_alter
().
JavaScriptTest::testAttachedLibrary
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests the addition of libraries through the #attached['library'] property.
JavaScriptTest::testAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript files with additional attributes.
JavaScriptTest::testBrowserConditionalComments
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript within conditional comments.
JavaScriptTest::testFooterHTML
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests
drupal_get_js
() with a footer scope.
JavaScriptTest::testHeaderSetting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests
drupal_get_js
() for JavaScript settings.
JavaScriptTest::testLibraryAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Adds a JavaScript library to the page and alters it.
JavaScriptTest::testLibraryRender
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Adds a library to the page and tests for both its JavaScript and its CSS.
JavaScriptTest::testLibraryUnknown
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests non-existing libraries.
JavaScriptTest::testRenderDifferentWeight
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests rendering the JavaScript with a file's weight above jQuery's.
JavaScriptTest::testRenderExternal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests rendering an external JavaScript file.
JavaScriptTest::testRenderOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript ordering.
JavaScriptTest::testVersionQueryString
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript versioning.
LocaleLibraryInfoAlterTest::testLibraryInfoAlter
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleLibraryInfoAlterTest.php
Verifies that the datepicker can be localized.
overlay_deliver_empty_page
in drupal/
core/
modules/
overlay/
overlay.module
Prints an empty page.
RenderTest::testDrupalRenderChildrenAttached
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
RenderTest.php
Tests #attached functionality in children elements.
template_process_html
in drupal/
core/
includes/
theme.inc
Processes variables for
html.html.twig
.
template_process_maintenance_page
in drupal/
core/
includes/
theme.inc
Theme process function for theme_maintenance_field().