summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-02-04 12:19:52 (GMT)
committerAlex Pott2016-02-04 12:19:52 (GMT)
commit754aa65b8ed41ffad13dd22f46a2169b0b75f292 (patch)
tree93bfa149049d0b44ccdc55045e29dccafb43aa54
parent9fcdd308d812d00baf482b79bff0f3eb59687746 (diff)
Issue #2651766 by eojthebrave, malavya, jhodgdon, alexpott: Update link in documentation block for t() function
-rw-r--r--core/includes/bootstrap.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index ce872d4..86e12c7 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -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.