By phenaproxima on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.0
Issue links:
Description:
Drupal core has added the twig/html-extra package as a dependency and now exposes the html_cva() Twig function, which implements the Class Variance Authority (CVA) pattern for managing conditional CSS class usage in templates. See https://twig.symfony.com/doc/3.x/functions/html_cva.html for documentation on this function and how to use it.
Impacts:
Themers
Site templates, recipes and distribution developers