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

Comments

perelesnyk created an issue. See original summary.

perelesnyk’s picture

StatusFileSize
new642 bytes
purushotam.rai’s picture

Status: Active » Needs review
gg24’s picture

Status: Needs review » Reviewed & tested by the community

This patch is working for me. Warnings are not coming after applying the patch.

purushotam.rai’s picture

Status: Reviewed & tested by the community » Patch (to be ported)
gg24’s picture

Status: Patch (to be ported) » Fixed

Fixed!!

  • perelesnyk authored 008f367 on 8.x-1.x
    Issue #2831551 by perelesnyk, purushotam.rai, gg24: Undefined constant...

Status: Fixed » Closed (fixed)

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