Timeline for Add cache context to altered links
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 13, 2018 at 13:15 | comment | added | Sebastian | Any other ideas? I have also searched for a some hook like hook_preprocess_menu where I can add cache context. But I haven't found anything similar for links. | |
Jul 13, 2018 at 12:51 | comment | added | Beebee | Sorry, my bad, should've looked at what hook_link_alter does. Thanks for clarifying. | |
Jul 13, 2018 at 10:48 | comment | added | Sebastian | There is no element in $varialbes, see api.drupal.org/api/drupal/…. $variables does not contain a render array as far as I understand. | |
Jul 13, 2018 at 9:04 | history | answered | Beebee | CC BY-SA 4.0 |