You are here

public function StringStorageInterface::countTranslations in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::countTranslations()
  2. 10 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::countTranslations()

Counts translations.

Return value

array The number of translations for each language indexed by language code.

1 method overrides StringStorageInterface::countTranslations()
StringDatabaseStorage::countTranslations in core/modules/locale/src/StringDatabaseStorage.php
Counts translations.

File

core/modules/locale/src/StringStorageInterface.php, line 156

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function countTranslations();