Drupal::languageManager

public static Drupal::languageManager()

Returns the language manager service.

Return value

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

File

core/lib/Drupal.php, line 601
Contains \Drupal.

Class

Drupal
Static Service Container wrapper.

Code

public static function languageManager() {
  return static::getContainer()->get('language_manager');
}
doc_Drupal
2016-10-29 09:02:47
Comments
Leave a Comment

Please login to continue.