You are here

protected property PluralFormula::$formulae in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/src/PluralFormula.php \Drupal\locale\PluralFormula::formulae

The plural formula and count keyed by langcode.

For example the structure looks like this:

[
  'de' => [
    'plurals' => 2,
    'formula' => [],
  ],
];

Type: array

File

core/modules/locale/src/PluralFormula.php, line 41

Class

PluralFormula
Manages the storage of plural formula per language in state.

Namespace

Drupal\locale

Code

protected $formulae;