You are here

constant JS_DEFAULT in Drupal 9

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

Code

const JS_DEFAULT = 0;