function PluralFormula::reset

Same name in other branches
  1. 9 core/modules/locale/src/PluralFormula.php \Drupal\locale\PluralFormula::reset()
  2. 10 core/modules/locale/src/PluralFormula.php \Drupal\locale\PluralFormula::reset()
  3. 11.x core/modules/locale/src/PluralFormula.php \Drupal\locale\PluralFormula::reset()

Overrides PluralFormulaInterface::reset

File

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

Class

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

Namespace

Drupal\locale

Code

public function reset() {
    $this->formulae = NULL;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.