public function StringInterface::getPlurals in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getPlurals()
Splits string to work with plural values.
Return value
array Array of strings that are plural variants.
1 method overrides StringInterface::getPlurals()
- StringBase::getPlurals in core/
modules/ locale/ src/ StringBase.php - Splits string to work with plural values.
File
- core/
modules/ locale/ src/ StringInterface.php, line 70
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function getPlurals();