You are here

constant JS_LIBRARY in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/common.inc \JS_LIBRARY
  2. 9 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
Common functions that many Drupal modules will need to reference.

Code

define('JS_LIBRARY', -100);