protected StringTranslationTrait::formatPlural($count, $singular, $plural, array $args = array(), array $options = array())
Formats a string containing a count of items.
\Drupal\Core\StringTranslation\TranslationInterface::formatPlural()
protected function formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) { return new PluralTranslatableMarkup($count, $singular, $plural, $args, $options, $this->getStringTranslation()); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StringTranslation!StringTranslationTrait.php/function/StringTranslationTrait::formatPlural/8.1.x