Issue #3308559 - Provides replacement for <id> and <uuid> if both present
Compare changes
+ 21
− 4
@@ -452,11 +452,28 @@ class TokenReplacer {
@@ -452,11 +452,28 @@ class TokenReplacer {
protected function getWholeEntityReplacements(string $entity_type_id, EntityInterface $entity, array $tokens) {
$view_mode = isset($this->entityDisplayRepository->getViewModes($entity_type_id)['token']) ? 'token' : 'full';