You are here

service locale.plural.formula in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/locale.services.yml \locale.plural.formula

Class

Drupal\locale\PluralFormula
1 string reference to locale.plural.formula
StringTranslationTrait::getNumberOfPlurals in core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
Returns the number of plurals supported by a given language.

File

core/modules/locale/locale.services.yml
core/modules/locale/locale.services.yml

View source
  1. class: Drupal\locale\PluralFormula
  2. arguments:
  3. - '@language_manager'
  4. - '@state'