JS_LIBRARY

Same name in other branches
  1. 9 core/includes/common.inc \JS_LIBRARY
  2. 8.9.x core/includes/common.inc \JS_LIBRARY
  3. 10 core/includes/common.inc \JS_LIBRARY
  4. 11.x core/includes/common.inc \JS_LIBRARY

The default group for JavaScript and jQuery libraries added to the page.

4 uses of JS_LIBRARY
drupal_add_js in includes/common.inc
Adds a JavaScript file, setting, or inline code to the page.
drupal_add_library in includes/common.inc
Adds multiple JavaScript or CSS files at the same time.
JavaScriptTestCase::testRenderDifferentWeight in modules/simpletest/tests/common.test
Test rendering the JavaScript with a file's weight above jQuery's.
system_library in modules/system/system.module
Implements hook_library().

File

includes/common.inc, line 75

Code

define('JS_LIBRARY', -100);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.