You are here

protected function EntityConverter::languageManager in Drupal 8

Returns a language manager instance.

@internal

Return value

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

File

core/lib/Drupal/Core/ParamConverter/EntityConverter.php, line 238

Class

EntityConverter
Parameter converter for upcasting entity IDs to full objects.

Namespace

Drupal\Core\ParamConverter

Code

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