public PluralFormulaInterface::setPluralFormula($langcode, $plural_count, array $formula)
Parameters
string $langcode: The language code to get the formula for.
int $plural_count: The number of plural forms.
array $formula: An array of formulae.
Return value
self The PluralFormula object.
File
- core/modules/locale/src/PluralFormulaInterface.php, line 21
Class
- PluralFormulaInterface
- An interface for a service providing plural formulae.
Namespace
Drupal\locale
Code
public function setPluralFormula($langcode, $plural_count, array $formula);
Please login to continue.