function ConfigurableLanguageRenderer::getLangcode

Same name in other branches
  1. 8.9.x core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php \Drupal\views\Entity\Render\ConfigurableLanguageRenderer::getLangcode()
  2. 10 core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php \Drupal\views\Entity\Render\ConfigurableLanguageRenderer::getLangcode()
  3. 11.x core/modules/views/src/Entity/Render/ConfigurableLanguageRenderer.php \Drupal\views\Entity\Render\ConfigurableLanguageRenderer::getLangcode()

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\Render

Code

public function getLangcode(ResultRow $row) {
    return $this->langcode;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.