Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ Metatag 8.x-1.x-dev, 2022-xx-xx module to make tokens more flexible. #3302685 by DamienMcKenna: Tiny changes from tests refactoring. #3303196 by DamienMcKenna: Add extra isSOMETHING() methods to MetaNameBase. #3304779 by luigisa, DamienMcKenna: MetatagManager::processedTokenCache() does not respect the entity language. Metatag 8.x-1.21, 2022-07-16 Loading src/MetatagManager.php +2 −1 Original line number Diff line number Diff line Loading @@ -667,7 +667,8 @@ class MetatagManager implements MetatagManagerInterface { $entity_identifier = '_none'; if ($entity) { $entity_identifier = $entity->getEntityTypeId() . ':' . ($entity->uuid() ?? $entity->id()); $entity_identifier = $entity->getEntityTypeId() . ':' . ($entity->uuid() ?? $entity->id()) . ':' . $entity->language() ->getId(); } // Use the entity's language code, if one is defined. Loading Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ Metatag 8.x-1.x-dev, 2022-xx-xx module to make tokens more flexible. #3302685 by DamienMcKenna: Tiny changes from tests refactoring. #3303196 by DamienMcKenna: Add extra isSOMETHING() methods to MetaNameBase. #3304779 by luigisa, DamienMcKenna: MetatagManager::processedTokenCache() does not respect the entity language. Metatag 8.x-1.21, 2022-07-16 Loading
src/MetatagManager.php +2 −1 Original line number Diff line number Diff line Loading @@ -667,7 +667,8 @@ class MetatagManager implements MetatagManagerInterface { $entity_identifier = '_none'; if ($entity) { $entity_identifier = $entity->getEntityTypeId() . ':' . ($entity->uuid() ?? $entity->id()); $entity_identifier = $entity->getEntityTypeId() . ':' . ($entity->uuid() ?? $entity->id()) . ':' . $entity->language() ->getId(); } // Use the entity's language code, if one is defined. Loading