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.
Problem/Motivation
As part of #3067216: [meta] Deprecate (in 8.8) and remove (in 9.0) polyfills that are no longer needed the classList
asset library was marked deprecated in 8.8.
see: #2955842: Deprecate classList library
All files and usage of classList should be removed in Drupal 9.
Proposed resolution
Remove classList
from 9.0.x
Existing change record: classList polyfill is deprecated
Remaining tasks
- Post patch removing classList
User interface changes
None
API changes
Data model changes
Release notes snippet
The classList polyfill has been removed from Drupal 9.0 because it is no longer required by any of the browsers supported by Drupal core
Comment | File | Size | Author |
---|---|---|---|
#3 | 3090010-3.patch | 5.09 KB | zrpnr |
Comments
Comment #2
zrpnrpostponed on #2955842: Deprecate classList library
Comment #3
zrpnrThis was postponed on #2955842: Deprecate classList library
now that is in 9.0.x, this patch removes:
core/active-link
core/assets/vendor/classList
DeprecationListenerTrait
Comment #4
bnjmnmComment #5
Gábor HojtsyFix credits.
Comment #7
Gábor HojtsySitting in person with @nod, who reviewed and nodded that this looked right.
Comment #9
Gábor Hojtsy