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.
Hi all.
I've encountered an error while using the Bootstrap module and have traced it back to adatptive_image
on Line 201 it's currently: $variables['attributes']['class'] = 'adaptive-image';
This code overrides the values from other modules. It should be declared as an array. eg. $variables['attributes']['class'][] = 'adaptive-image';
Comments
Comment #1
neubreed CreditAttribution: neubreed commentedComment #2
vasikethis looks like a duplicate of #1905576: Change class from string to array for themers.
please re-open if i'm wrong.