Commit 754aa65b authored by alexpott's avatar alexpott

Issue #2651766 by eojthebrave, malavya, jhodgdon, alexpott: Update link in...

Issue #2651766 by eojthebrave, malavya, jhodgdon, alexpott: Update link in documentation block for t() function
parent 9fcdd308
......@@ -258,11 +258,10 @@ function drupal_get_path($type, $name) {
* Translates a string to the current language or to a given language.
*
* In order for strings to be localized, make them available in one of the ways
* supported by the
* @link https://www.drupal.org/node/322729 Localization API @endlink. When
* possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait
* $this->t(). Otherwise create a new
* \Drupal\Core\StringTranslation\TranslatableMarkup object directly.
* supported by the @link i18n Localization API. @endlink When possible, use
* the \Drupal\Core\StringTranslation\StringTranslationTrait $this->t().
* Otherwise create a new \Drupal\Core\StringTranslation\TranslatableMarkup
* object directly.
*
* See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for
* important security information and usage guidelines.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment