public function ConfigurableLanguageRenderer::getLangcode in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php \Drupal\views\Entity\Render\ConfigurableLanguageRenderer::getLangcode()
Returns the language code associated with the given row.
Parameters
\Drupal\views\ResultRow $row: The result row.
Return value
string A language code.
Overrides EntityTranslationRendererBase::getLangcode
File
- core/
modules/ views/ src/ Entity/ Render/ ConfigurableLanguageRenderer.php, line 42
Class
- ConfigurableLanguageRenderer
- Renders entities in a configured language.
Namespace
Drupal\views\Entity\RenderCode
public function getLangcode(ResultRow $row) {
return $this->langcode;
}