LocaleDefaultConfigStorage::listAll

public 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
  )
  );
}
doc_Drupal
2016-10-29 09:24:02
Comments
Leave a Comment

Please login to continue.