Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By penyaskito on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.3.x
Introduced in version:
8.3.0
Issue links:
Description:
drupal.js provided the main Drupal JS API, but also took care of domready event handling.
We have splitted the initialization to a new javascript file: drupal.init.js.
If you were using libraries-override for overriding core/drupal, you need to be aware that now it includes two different files:
drupal:
version: VERSION
js:
misc/drupal.js: { weight: -18 }
misc/drupal.init.js: { weight: -17 }
dependencies:
- core/domready
- core/drupalSettings
Impacts:
Module developers
Themers