protected PluralFormula::loadFormulae()
Loads the formulae and stores them on the PluralFormula object if not set.
Return value
[]
File
- core/modules/locale/src/PluralFormula.php, line 97
Class
- PluralFormula
- Manages the storage of plural formula per language in state.
Namespace
Drupal\locale
Code
protected function loadFormulae() {
if (!isset($this->formulae)) {
$this->formulae = $this->state->get('locale.translation.formulae', []);
}
}
Please login to continue.