Issue #2585781 by anil280988, Davinder.Snehi, sdstyles, lucian.gutoiu, Chi, jhodgdon, GoZ, YesCT: Wrong documentation of t()
parent
921cf91a2e
commit
fd6f9cb771
|
@ -304,8 +304,8 @@ function drupal_get_path($type, $name) {
|
||||||
* - 'context' (defaults to the empty context): The context the source string
|
* - 'context' (defaults to the empty context): The context the source string
|
||||||
* belongs to.
|
* belongs to.
|
||||||
*
|
*
|
||||||
* @return
|
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
|
||||||
* The translated string.
|
* An object that, when cast to a string, will yield the translated string.
|
||||||
*
|
*
|
||||||
* @see \Drupal\Component\Utility\SafeMarkup::format()
|
* @see \Drupal\Component\Utility\SafeMarkup::format()
|
||||||
* @ingroup sanitization
|
* @ingroup sanitization
|
||||||
|
|
|
@ -34,7 +34,7 @@ interface TranslationInterface {
|
||||||
* - 'context': The context the source string belongs to.
|
* - 'context': The context the source string belongs to.
|
||||||
*
|
*
|
||||||
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
|
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
|
||||||
* The translated string.
|
* An object that, when cast to a string, will yield the translated string.
|
||||||
*
|
*
|
||||||
* @see \Drupal\Component\Utility\SafeMarkup::format()
|
* @see \Drupal\Component\Utility\SafeMarkup::format()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue