public function PluralFormula::reset in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/src/PluralFormula.php \Drupal\locale\PluralFormula::reset()
- 10 core/modules/locale/src/PluralFormula.php \Drupal\locale\PluralFormula::reset()
Resets the static formulae cache.
Return value
self The PluralFormula object.
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\localeCode
public function reset() {
$this->formulae = NULL;
return $this;
}