public function LocaleProjectStorage::countProjects in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/LocaleProjectStorage.php \Drupal\locale\LocaleProjectStorage::countProjects()
Returns the count of project records.
Return value
int The number of saved items.
Overrides LocaleProjectStorageInterface::countProjects
File
- core/
modules/ locale/ src/ LocaleProjectStorage.php, line 159 - Contains \Drupal\locale\LocaleProjectStorage.
Class
- LocaleProjectStorage
- Provides the locale project storage system using a key value store.
Namespace
Drupal\localeCode
public function countProjects() {
return count($this
->getAll());
}