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.
I'm testing a bit the d8 version of the module and I run into this warning.
Warning: constant(): Couldn't find constant CSS_COMPONENTS in Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension() (line 143 of /home/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php).
Comment | File | Size | Author |
---|---|---|---|
#1 | library-components-2543916-1.patch | 946 bytes | rodrigoaguilera |
Comments
Comment #1
rodrigoaguileraThe key for the library definition is "component"
patch attached
Comment #2
rodrigoaguileraComment #4
BTMash CreditAttribution: BTMash as a volunteer commentedThis is def. a new change. I checked and just saw the name change for the constant. Thank you for debugging the warning (also changing the docblock for hook_js_settings_alter()) - this is much appreciated. Committed and pushed :D
Comment #5
BTMash CreditAttribution: BTMash as a volunteer commented