public PluralFormula::reset() Resets
public PluralFormula::__construct(LanguageManagerInterface $language_manager
Manages the storage of plural formula per language in state. Hierarchy class \Drupal\locale\
public PluralFormula::getNumberOfPlurals($langcode = NULL)
protected PluralFormula::loadFormulae()
Type: \Drupal\
Type:
public PluralFormula::setPluralFormula($langcode, $plural_count, array
public PluralFormula::getFormula($langcode)
The plural formula and count keyed by langcode. For example the structure looks like this: