LanguageManagerInterface

Common interface for the language manager service.

Hierarchy

File

core/lib/Drupal/Core/Language/LanguageManagerInterface.php, line 10

Namespace

Drupal\Core\Language

Members

Name Modifiers Type Description
LanguageManagerInterface::getConfigOverrideLanguage public function Gets the current configuration override language.
LanguageManagerInterface::getCurrentLanguage public function Returns the current language for the given type.
LanguageManagerInterface::getDefaultLanguage public function Returns a language object representing the site's default language.
LanguageManagerInterface::getDefaultLockedLanguages public function Returns a list of the default locked languages.
LanguageManagerInterface::getDefinedLanguageTypesInfo public function Returns information about all defined language types.
LanguageManagerInterface::getFallbackCandidates public function Returns the language fallback candidates for a given context.
LanguageManagerInterface::getLanguage public function Returns a language object from the given language code.
LanguageManagerInterface::getLanguageName public function Produced the printed name for a language for display.
LanguageManagerInterface::getLanguages public function Returns a list of languages set up on the site.
LanguageManagerInterface::getLanguageSwitchLinks public function Returns the language switch links for the given language type.
LanguageManagerInterface::getLanguageTypes public function Returns an array of the available language types.
LanguageManagerInterface::getNativeLanguages public function Returns a list of languages set up on the site in their native form.
LanguageManagerInterface::getStandardLanguageList public static function Some common languages with their English and native names.
LanguageManagerInterface::isLanguageLocked public function Checks whether a language is locked.
LanguageManagerInterface::isMultilingual public function Returns whether or not the site has more than one language added.
LanguageManagerInterface::reset public function Resets the given language type or all types if none specified.
LanguageManagerInterface::setConfigOverrideLanguage public function Sets the configuration override language.
doc_Drupal
2016-10-29 09:22:41
Comments
Leave a Comment

Please login to continue.