abstract public function EntityTranslationRendererBase::getLangcode in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php \Drupal\views\Entity\Render\EntityTranslationRendererBase::getLangcode()
- 9 core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php \Drupal\views\Entity\Render\EntityTranslationRendererBase::getLangcode()
Returns the language code associated with the given row.
Parameters
\Drupal\views\ResultRow $row: The result row.
Return value
string A language code.
File
- core/
modules/ views/ src/ Entity/ Render/ EntityTranslationRendererBase.php, line 22
Class
- EntityTranslationRendererBase
- Defines a base class for entity translation renderers.
Namespace
Drupal\views\Entity\RenderCode
public abstract function getLangcode(ResultRow $row);