You are here

public function StringDatabaseStorage::countStrings in Localization update 7.2

Implements StringStorageInterface::countStrings().

Overrides StringStorageInterface::countStrings

File

includes/locale/StringDatabaseStorage.php, line 80
Definition of StringDatabaseStorage.

Class

StringDatabaseStorage
Defines the locale string class.

Code

public function countStrings() {
  return $this
    ->dbExecute("SELECT COUNT(*) FROM {locales_source}")
    ->fetchField();
}