Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
common.inc
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
constant JS_LIBRARY
The default group for JavaScript and jQuery libraries added to the page.
4 uses of JS_LIBRARY
drupal_add_library
in drupal/
core/
includes/
common.inc
Adds multiple JavaScript or CSS files at the same time.
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.
system_library_info
in drupal/
core/
modules/
system/
system.module
Implements
hook_library_info
().
views_preprocess_html
in drupal/
core/
modules/
views/
views.module
Implements MODULE_preprocess_HOOK().
File
drupal/
core/
includes/
common.inc
, line 91
Common functions that many Drupal modules will need to reference.
Code
const
JS_LIBRARY
= -
100
;