We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f59d07c commit 59281a9Copy full SHA for 59281a9
modules/next/src/Plugin/Next/Revalidator/CacheTag.php
@@ -56,8 +56,7 @@ public function revalidate(EntityActionEvent $event): bool {
56
return FALSE;
57
}
58
59
- $tags = [];
60
- $tags[] = $entity->getEntityTypeId() . ':' . $entity->id();
+ $tags = $entity->getCacheTags() ?? [];
61
if ($entity->getEntityTypeId() == 'menu_link_content') {
62
$tags[] = $entity->getEntityTypeId() . ':' . $entity->getMenuName();
63
0 commit comments