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'); }
Please login to continue.