This module attaches the once.min.js library to every page, backporting functionality included in Drupal 9 core. It's intended to help Drupal 8 sites that have inadvertent dependencies on once.js, with the goal of removing it when upgrading to Drupal 9.
Attaches once.min.js to every page. Included in core in Drupal 9.
Drupal 8 once.js backport
This is for once.js, not jquery.once.js.
The once.js library is included in core in Drupal 9. However, some Drupal 8 modules have inadvertently made dependencies on once.js.
Remove when you are ready to upgrade to Drupal 9.
Ask your assistant about d8oncejs
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta1 | Pre-release | Feb 1, 2023 | |||
| 1.0.x-dev | Dev | 8–9 | Feb 1, 2023 |