PluralFormulaInterface::getFormula

public PluralFormulaInterface::getFormula($langcode)

Gets the plural formula for a langcode.

Parameters

string $langcode: The language code to get the formula for.

Return value

array An array of formulae.

File

core/modules/locale/src/PluralFormulaInterface.php, line 44

Class

PluralFormulaInterface
An interface for a service providing plural formulae.

Namespace

Drupal\locale

Code

1
public function getFormula($langcode);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.