You are here

public function StringInterface::getPlurals in Drupal 8

Same name and namespace in other branches
  1. 9 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\locale

Code

public function getPlurals();