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
As discovered in #3123832: [META] Fix @todo items referencing closed issues, there is a @todo in core/themes/olivero/olivero.theme
which has a link to an issue that is fixed. As the parent issue is fixed, we can now refactor the code as done in claro.theme file.
Here's the @todo:
// @todo change this after https://www.drupal.org/node/3099026 has landed.
$variables['table']['#header'][0]['data'] = [
'#type' => 'html_tag',
'#tag' => 'h4',
'#value' => $variables['element']['#title'],
'#attributes' => $header_attributes,
];
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#9 | 3348035-9.patch | 2.04 KB | Gauravvvv |
| |||
#9 | interdiff-2_9.txt | 1.13 KB | Gauravvvv |
#7 | after-apply-patch#2.png | 200.8 KB | Guru2023 |
#3 | Screenshot-3348035-3.png | 135.54 KB | Nikhil_110 |
#2 | 3348035-2.patch | 3.17 KB | Gauravvvv |
|
Comments
Comment #2
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedComment #3
Nikhil_110 CreditAttribution: Nikhil_110 at Srijan | A Material+ Company commentedPatch #2 has been successfully applied.. I have attached the screenshot..
Comment #4
smustgrave CreditAttribution: smustgrave at Mobomo commentedSeems to have a number out of scope changes outside of removing a todo.
If more is being fixed here it should be added to the issue summary.
Comment #5
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedComment #6
Guru2023 CreditAttribution: Guru2023 at Srijan | A Material+ Company commentedComment #7
Guru2023 CreditAttribution: Guru2023 at Srijan | A Material+ Company commentedI have reviewed patch #2 and it has been successfully applied. Please see attached screenshot for reference .
Comment #8
bnjmnm@Nikhil_110 there's no value in showing screenshots of code or patches applying. We have automated processes (notice the green box that says "pass") that confirms a patch applies
@Guru2023 there's no value in showing a screenshot of changed code. The patch shows the code getting changed, the testbot lets us know it works.
Can we get an explanation in the issue summary what this change is for. It seems like the preprocess is removing the label class so I'm not sure why a style is being added that targets it. An explanation may be all that is needed.
Comment #9
Gauravvvv CreditAttribution: Gauravvvv at Axelerant for Drupal India Association commentedRemoved the unrelated file, added interdiff for same
Comment #10
smustgrave CreditAttribution: smustgrave at Mobomo commentedGoing to say this needs an issue summary update still. What's the proposed solution?