public function LocaleProjectStorage::getAll in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::getAll()
- 9 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::getAll()
File
- core/
modules/ locale/ src/ LocaleProjectStorage.php, line 161
Class
- LocaleProjectStorage
- Provides the locale project storage system using a key value store.
Namespace
Drupal\localeCode
public function getAll() {
if (!static::$all) {
$this->cache = $this->keyValueStore
->getAll();
static::$all = TRUE;
}
return $this->cache;
}