You are here

public function LocaleDefaultConfigStorage::listAll in Drupal 8

Same name and namespace in other branches
  1. 9 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 103

Class

LocaleDefaultConfigStorage
Provides access to default configuration for locale integration.

Namespace

Drupal\locale

Code

public function listAll() {
  $languages = $this
    ->predefinedConfiguredLanguages();
  return array_unique(array_merge($this->requiredInstallStorage
    ->listAll(), $this->optionalInstallStorage
    ->listAll(), $languages));
}