function EntityTranslationRenderTrait::getLanguageManager

Same name in other branches
  1. 9 core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getLanguageManager()
  2. 10 core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getLanguageManager()
  3. 11.x 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.

... See full list

File

core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php, line 118

Class

EntityTranslationRenderTrait
Trait used to instantiate the view's entity translation renderer.

Namespace

Drupal\views\Entity\Render

Code

protected abstract function getLanguageManager();

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