You are here

public function ConfigurableLanguageManagerInterface::getDefinedLanguageTypes in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/src/ConfigurableLanguageManagerInterface.php \Drupal\language\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.

1 method overrides ConfigurableLanguageManagerInterface::getDefinedLanguageTypes()
ConfigurableLanguageManager::getDefinedLanguageTypes in core/modules/language/src/ConfigurableLanguageManager.php
Returns all the defined language types including fixed ones.

File

core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 44

Class

ConfigurableLanguageManagerInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function getDefinedLanguageTypes();