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.
Problem/Motivation
in file core/modules/views/views.theme.inc
$variables['rows'][$id]['attributes'] = array();
$variables['rows'][$id]['attributes'] = new Attribute($variables['rows'][$id]['attributes']);
This was caused by:
#2329917: Move views classes from preprocess to templates
#1968398: Convert Views $row_classes to $row['attributes']
Proposed resolution
remove useless line
Remaining tasks
commit
User interface changes
no
API changes
no
Data model changes
no
Comment | File | Size | Author |
---|---|---|---|
#4 | unused-4.patch | 761 bytes | andypost |
Comments
Comment #2
andyposttagging
Comment #4
andypostproper fix
Comment #5
andriyun CreditAttribution: andriyun at Skilld commentedGreat!
Comment #6
andypostadded related issues that caused this
Comment #8
andypostbot flux
Comment #9
catchComment #12
catchCommitted/pushed to 8.1.x and cherry-picked to 8.0.x, thanks!