Loading core/modules/content_translation/src/Controller/ContentTranslationController.php +1 −1 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ public function overview(RouteMatchInterface $route_match, $entity_type_id = NUL $source = $metadata->getSource() ?: LanguageInterface::LANGCODE_NOT_SPECIFIED; $is_original = $langcode == $original; $label = $entity->getTranslation($langcode)->label() ?? $entity->id(); $link = isset($links->links[$langcode]['url']) ? $links->links[$langcode] : ['url' => $entity->toUrl()]; $link = ['url' => $entity->toUrl()]; if (!empty($link['url'])) { $link['url']->setOption('language', $language); $row_title = Link::fromTextAndUrl($label, $link['url'])->toString(); Loading Loading
core/modules/content_translation/src/Controller/ContentTranslationController.php +1 −1 Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ public function overview(RouteMatchInterface $route_match, $entity_type_id = NUL $source = $metadata->getSource() ?: LanguageInterface::LANGCODE_NOT_SPECIFIED; $is_original = $langcode == $original; $label = $entity->getTranslation($langcode)->label() ?? $entity->id(); $link = isset($links->links[$langcode]['url']) ? $links->links[$langcode] : ['url' => $entity->toUrl()]; $link = ['url' => $entity->toUrl()]; if (!empty($link['url'])) { $link['url']->setOption('language', $language); $row_title = Link::fromTextAndUrl($label, $link['url'])->toString(); Loading