function LocaleProjectStorage::getAll
Same name in other branches
- 9 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::getAll()
- 10 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::getAll()
- 11.x core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::getAll()
Overrides LocaleProjectStorageInterface::getAll
1 call to LocaleProjectStorage::getAll()
- LocaleProjectStorage::countProjects in core/
modules/ locale/ src/ LocaleProjectStorage.php - Returns the count of project records.
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.