You are here

public function CurrentLanguageRenderer::getLangcode in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/Entity/Render/CurrentLanguageRenderer.php \Drupal\ds\Plugin\views\Entity\Render\CurrentLanguageRenderer::getLangcode()
  2. 8.3 src/Plugin/views/Entity/Render/CurrentLanguageRenderer.php \Drupal\ds\Plugin\views\Entity\Render\CurrentLanguageRenderer::getLangcode()

Returns NULL so that the current language is used.

Parameters

\Drupal\views\ResultRow $row: The result row.

Overrides EntityTranslationRendererBase::getLangcode

File

src/Plugin/views/Entity/Render/CurrentLanguageRenderer.php, line 18

Class

CurrentLanguageRenderer
Renders entities in the current language.

Namespace

Drupal\ds\Plugin\views\Entity\Render

Code

public function getLangcode(ResultRow $row) {
}