Same name and namespace in other branches
  1. 10 core/includes/common.inc \JS_DEFAULT
  2. 8.9.x core/includes/common.inc \JS_DEFAULT
  3. 9 core/includes/common.inc \JS_DEFAULT

The default group for module JavaScript code added to the page.

3 uses of JS_DEFAULT
drupal_js_defaults in includes/common.inc
Constructs an array of the defaults that are used for JavaScript items.
drupal_process_attached in includes/common.inc
Adds attachments to a render() structure.
system_library in modules/system/system.module
Implements hook_library().

File

includes/common.inc, line 80
Common functions that many Drupal modules will need to reference.

Code

define('JS_DEFAULT', 0);