public function ConfigurableLanguageRenderer::getLangcode in Display Suite 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/views/Entity/Render/ConfigurableLanguageRenderer.php \Drupal\ds\Plugin\views\Entity\Render\ConfigurableLanguageRenderer::getLangcode()
- 8.3 src/Plugin/views/Entity/Render/ConfigurableLanguageRenderer.php \Drupal\ds\Plugin\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
- src/
Plugin/ views/ Entity/ Render/ ConfigurableLanguageRenderer.php, line 42
Class
- ConfigurableLanguageRenderer
- Renders entities in a configured language.
Namespace
Drupal\ds\Plugin\views\Entity\RenderCode
public function getLangcode(ResultRow $row) {
return $this->langcode;
}