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.
Allow themers access to the $vars['attributes']['class'] array, instead of defining it as a string.
Comment | File | Size | Author |
---|---|---|---|
#1 | [adaptive_image]-[class-string-to-array]-[patch1].patch | 466 bytes | rudun |
Comments
Comment #1
rudun CreditAttribution: rudun commentedComment #2
rudun CreditAttribution: rudun commentedComment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedYes please, this totally destroys any classes you might set at the module level or when altering a renderable array.
Comment #4
vasikei think this is bug, a major one and it needs review
Comment #6
sanduhrsThanks for the patch.