PluralFormulaInterface::setPluralFormula

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);
doc_Drupal
2016-10-29 09:34:17
Comments
Leave a Comment

Please login to continue.