JS_DEFAULT

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

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

2 uses of JS_DEFAULT
AssetResolver::getJsAssets in core/lib/Drupal/Core/Asset/AssetResolver.php
Returns the JavaScript assets for the current response's libraries.
drupal_js_defaults in core/includes/common.inc
Constructs an array of the defaults that are used for JavaScript assets.

File

core/includes/common.inc, line 119

Code

const JS_DEFAULT = 0;

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