You are here

protected function RenderedEntity::getLanguageManager in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/RenderedEntity.php \Drupal\views\Plugin\views\field\RenderedEntity::getLanguageManager()
  2. 10 core/modules/views/src/Plugin/views/field/RenderedEntity.php \Drupal\views\Plugin\views\field\RenderedEntity::getLanguageManager()

Returns the language manager.

Return value

\Drupal\Core\Language\LanguageManagerInterface The language manager.

Overrides EntityTranslationRenderTrait::getLanguageManager

File

core/modules/views/src/Plugin/views/field/RenderedEntity.php, line 212

Class

RenderedEntity
Provides a field handler which renders an entity in a certain view mode.

Namespace

Drupal\views\Plugin\views\field

Code

protected function getLanguageManager() {
  return $this->languageManager;
}