
When the module is enabled, there are warnings on the page:
Warning: constant(): Couldn't find constant CSS_MODULE in Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension() (line 138 of core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php).
According to the D8 documentation there is no such order category for CSS as 'module'. I suppose it can be changed to 'component' to overcome the warning
Comment | File | Size | Author |
---|---|---|---|
#2 | 2831551-undefined-contant-warning-1.patch | 642 bytes | perelesnyk |
Comments
Comment #2
perelesnyk CreditAttribution: perelesnyk at Digital Pulp commentedComment #3
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedComment #4
gg24 CreditAttribution: gg24 at QED42 commentedThis patch is working for me. Warnings are not coming after applying the patch.
Comment #5
purushotam.rai CreditAttribution: purushotam.rai at QED42 commentedComment #6
gg24 CreditAttribution: gg24 at QED42 commentedFixed!!