function StringStorageInterface::countTranslations

Same name in other branches
  1. 9 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::countTranslations()
  2. 8.9.x core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::countTranslations()
  3. 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.

File

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

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function countTranslations();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.