- Issue created by @Grimreaper
- Assigned to Grimreaper
- Merge request !161Issue #3416209 by Grimreaper: Nav preview is broken → (Merged) created by Grimreaper
- Assigned to pdureau
- Status changed to Needs review
11 months ago 12:31pm 22 January 2024 - Issue was unassigned.
- Status changed to RTBC
11 months ago 1:09pm 22 January 2024 - 🇫🇷France pdureau Paris
link render element doesn't accept attributes, what a mess !!!
We need:
- to avoid this render element in previews as you did in this ticket
- to create an issue for Drupal Core
- 🇫🇷France pdureau Paris
Our maybe update our implementation of add_class & set_attributes filters to add attributes to https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21... using https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Url.php/f... ?
- 🇫🇷France Grimreaper France 🇫🇷
As discussed, the problem is that type link needs a URL object in #url.
Previously there was a pattern preprocess which was handling that, it had been removed.So no need to create core issues.
-
Grimreaper →
committed 9b23719e on 5.0.x
Issue #3416209 by Grimreaper, pdureau: Nav preview is broken
-
Grimreaper →
committed 9b23719e on 5.0.x
- Status changed to Fixed
11 months ago 4:56pm 22 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.