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
The style plugin render function has this code:
foreach ($event_info as $event_info) {
This is horrible.
Proposed resolution
Rename one of the variables.
Comment | File | Size | Author |
---|---|---|---|
#2 | double-variable-2605864-2.patch | 980 bytes | sdstyles |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous at XIO commentedpjonckiere created an issue. See original summary.
Comment #2
sdstyles CreditAttribution: sdstyles at FFW commentedComment #3
mallezieThis seems a good rename, and replaces all instances of the renamed variable.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous at XIO commentedCommitted. Thanks!