public ConfigurableLanguageManagerInterface::getDefinedLanguageTypes()
Returns all the defined language types including fixed ones.
A language type maybe configurable or fixed. A fixed language type is a type whose language negotiation methods are module-defined and not altered through the user interface.
Return value
array An array of language type machine names.
File
- core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 44
Class
- ConfigurableLanguageManagerInterface
- Common interface for language negotiation services.
Namespace
Drupal\language
Code
public function getDefinedLanguageTypes();
Please login to continue.