Closed (fixed)
Project:
Drupal core
Version:
8.9.x-dev
Component:
system.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2020 at 10:33 UTC
Updated:
20 Feb 2020 at 17:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hardik_patel_12 commentedKindly review a patch.
Comment #3
hardik_patel_12 commentedComment #4
hardik_patel_12 commentedComment #5
longwaveNow this is shorter it might be more readable if it were all on one line?
Comment #6
naresh_bavaskarComment #7
naresh_bavaskarabove patch looks fine. @hardik_patel
Comment #8
catchWe often keep keys in foreach statements for readability even if they're not used. Let's remove those from the patch and open a coding standards issue to discuss.
Comment #9
Rangaswini commentedComment #10
pratik_kambleComment #11
pratik_kambleRerolled patch to keep the key in foreach.
Comment #12
pratik_kambleComment #13
pratik_kambleComment #14
longwaveComment #17
catchCommitted d33f375 and pushed to 9.0.x. Thanks!