function EntityConverter::languageManager

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');
}

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