- Issue created by @ivnish
- @ivnish opened merge request.
Automatically closed - issue fixed for 2 weeks with no activity.
Inline links are cached and render incorrect link
Add this code to flag_entity_view_alter
// Enable placeholder on entity links to avoid them being cached with the
// entity view mode.
if (isset($build['links']['#lazy_builder'])) {
$build['links']['#create_placeholder'] = TRUE;
}
Active
4.0
Flag core
Automatically closed - issue fixed for 2 weeks with no activity.