function EntityTranslationRenderTrait::getLanguageManager
Same name in other branches
- 9 core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getLanguageManager()
- 8.9.x core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getLanguageManager()
- 10 core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getLanguageManager()
Returns the language manager.
Return value
\Drupal\Core\Language\LanguageManagerInterface The language manager.
1 call to EntityTranslationRenderTrait::getLanguageManager()
- EntityTranslationRenderTrait::getEntityTranslationRenderer in core/
modules/ views/ src/ Entity/ Render/ EntityTranslationRenderTrait.php - Returns the current renderer.
7 methods override EntityTranslationRenderTrait::getLanguageManager()
- BulkForm::getLanguageManager in core/
modules/ views/ src/ Plugin/ views/ field/ BulkForm.php - Returns the language manager.
- DataEntityRow::getLanguageManager in core/
modules/ rest/ src/ Plugin/ views/ row/ DataEntityRow.php - Returns the language manager.
- EntityFieldRenderer::getLanguageManager in core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php - Returns the language manager.
- EntityOperations::getLanguageManager in core/
modules/ views/ src/ Plugin/ views/ field/ EntityOperations.php - Returns the language manager.
- EntityRow::getLanguageManager in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Returns the language manager.
File
-
core/
modules/ views/ src/ Entity/ Render/ EntityTranslationRenderTrait.php, line 96
Class
- EntityTranslationRenderTrait
- Trait used to instantiate the view's entity translation renderer.
Namespace
Drupal\views\Entity\RenderCode
protected abstract function getLanguageManager();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.