protected function StringTranslationTrait::formatPlural in Simple hierarchical select 2.0.x
File
- src/
StringTranslationTrait.php, line 46
Class
- StringTranslationTrait
- Custom enhancements for the StringTranslationTrait.
Namespace
Drupal\shsCode
protected function formatPlural($count, $singular, $plural, array $args = [], array $options = []) {
if (empty($options['context'])) {
$options['context'] = $this->translationContext;
}
return $this
->formatPluralCore($count, $singular, $plural, $args, $options);
}