Issue #2228129 by Berdir: Unnecessary separate config load call to load languages.
parent
5364b20d02
commit
bb78e06d83
|
@ -278,8 +278,7 @@ class ConfigurableLanguageManager extends LanguageManager implements Configurabl
|
|||
|
||||
// Retrieve the config storage to list available languages.
|
||||
$prefix = 'language.entity.';
|
||||
$storage = $this->configFactory->get($prefix . Language::LANGCODE_NOT_SPECIFIED)->getStorage();
|
||||
$config_ids = $storage->listAll($prefix);
|
||||
$config_ids = $this->configFactory->listAll($prefix);
|
||||
|
||||
// Instantiate languages from config objects.
|
||||
$weight = 0;
|
||||
|
|
Loading…
Reference in New Issue