public function LanguageApi::currentLanguage in Little helpers 7
Same name and namespace in other branches
- 7.2 src/Locale/LanguageApi.php \Drupal\little_helpers\Locale\LanguageApi::currentLanguage()
1 call to LanguageApi::currentLanguage()
- LanguageApi::languageLinks in src/
Locale/ LanguageApi.php - Give paths to all (or a subset) of the available translations.
File
- src/
Locale/ LanguageApi.php, line 6
Class
Namespace
Drupal\little_helpers\LocaleCode
public function currentLanguage() {
return $GLOBALS['language']->language;
}