summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-10-16 18:11:58 (GMT)
committerAlex Pott2015-10-16 18:11:58 (GMT)
commit19adf84475a32eb728413857f01c07a385aeee50 (patch)
tree4c396127a255868665dd1f2775c5aaf244908483
parentaf8fc7c8c720b147b3015bb10002da9a3323a756 (diff)
Issue #2584797 by DuaelFr: \Drupal\Core\StringTranslation\StringTranslationTrait::formatPluralTranslated uses dead code
-rw-r--r--core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php b/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
index f4b4bd3..53e1f6f 100644
--- a/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
+++ b/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
@@ -57,17 +57,6 @@ trait StringTranslationTrait {
}
/**
- * Formats a translated string containing a count of items.
- *
- * See the
- * \Drupal\Core\StringTranslation\TranslationInterface::formatPluralTranslated()
- * documentation for details.
- */
- protected function formatPluralTranslated($count, $translated, array $args = array(), array $options = array()) {
- return $this->getStringTranslation()->formatPluralTranslated($count, $translated, $args, $options);
- }
-
- /**
* Returns the number of plurals supported by a given language.
*
* See the \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals()