diff --git a/core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php b/core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php index b7f5480943..2e28f9df3b 100644 --- a/core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php +++ b/core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php @@ -43,11 +43,4 @@ public function getLangcode(ResultRow $row) { return $this->langcode; } - /** - * {@inheritdoc} - */ - public function getLangcodeByRelationship(ResultRow $row, $relationship) { - return $this->getLangcode($row); - } - } diff --git a/core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php b/core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php index 7c4b755990..11dbb4ab87 100644 --- a/core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php +++ b/core/modules/views/src/Entity/Render/DefaultLanguageRenderer.php @@ -16,11 +16,4 @@ public function getLangcode(ResultRow $row) { return $row->_entity->getUntranslated()->language()->getId(); } - /** - * {@inheritdoc} - */ - public function getLangcodeByRelationship(ResultRow $row, $relationship) { - return $this->getLangcode($row); - } - } diff --git a/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php b/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php index b11198031c..93ffa953f7 100644 --- a/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php +++ b/core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php @@ -124,13 +124,6 @@ public function getLangcode(ResultRow $row) { return isset($row->{$this->langcodeAlias}) ? $row->{$this->langcodeAlias} : $this->languageManager->getDefaultLanguage()->getId(); } - /** - * {@inheritdoc} - */ - public function getLangcodeByRelationship(ResultRow $row, $relationship = 'none') { - return $this->getLangcode($row); - } - /** * {@inheritdoc} */