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).

CommentFileSizeAuthor
#1 library-components-2543916-1.patch946 bytesrodrigoaguilera
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rodrigoaguilera’s picture

Status: Active » Needs review
FileSize
946 bytes

The key for the library definition is "component"

patch attached

rodrigoaguilera’s picture

Issue summary: View changes

BTMash’s picture

This 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

BTMash’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.