public function LocaleDefaultConfigStorage::listAll in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/src/LocaleDefaultConfigStorage.php \Drupal\locale\LocaleDefaultConfigStorage::listAll()
Return the list of configuration in install storage and current languages.
Return value
array List of configuration in install storage and current languages.
File
- core/
modules/ locale/ src/ LocaleDefaultConfigStorage.php, line 105
Class
- LocaleDefaultConfigStorage
- Provides access to default configuration for locale integration.
Namespace
Drupal\localeCode
public function listAll() {
$languages = $this
->predefinedConfiguredLanguages();
return array_unique(array_merge($this->requiredInstallStorage
->listAll(), $this->optionalInstallStorage
->listAll(), $languages));
}