X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FStringTranslation%2FTranslationInterface.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FStringTranslation%2FTranslationInterface.php;h=1ceb951c160ec23a87350a7dde73dd1c9b12deaa;hp=6a977b4a59e89a55a75a4ccad3bd672a4c08ba9f;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php b/web/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php index 6a977b4a5..1ceb951c1 100644 --- a/web/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php +++ b/web/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php @@ -93,7 +93,7 @@ interface TranslationInterface { * An associative array of replacements to make after translation. Instances * of any key in this array are replaced with the corresponding value. * Based on the first character of the key, the value is escaped and/or - * themed. See \Drupal\Component\Utility\SafeMarkup::format(). Note that you do + * themed. See \Drupal\Component\Render\FormattableMarkup. Note that you do * not need to include @count in this array; this replacement is done * automatically for the plural cases. * @param array $options @@ -104,7 +104,7 @@ interface TranslationInterface { * * @see \Drupal\Core\StringTranslation\TranslationInterface::translate() * @see t() - * @see \Drupal\Component\Utility\SafeMarkup::format() + * @see \Drupal\Component\Render\FormattableMarkup * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup::createFromTranslatedString() */ public function formatPlural($count, $singular, $plural, array $args = [], array $options = []);