An interface for a service providing plural formulae.
Hierarchy
- interface \Drupal\locale\PluralFormulaInterface
File
- core/modules/locale/src/PluralFormulaInterface.php, line 8
Namespace
Drupal\locale
Members
Name | Modifiers | Type | Description |
---|---|---|---|
PluralFormulaInterface::getFormula | public | function | Gets the plural formula for a langcode. |
PluralFormulaInterface::getNumberOfPlurals | public | function | Returns the number of plurals supported by a given language. |
PluralFormulaInterface::reset | public | function | Resets the static formulae cache. |
PluralFormulaInterface::setPluralFormula | public | function |
Please login to continue.