per #2018411: Figure out a nice DX when working with injected translation the doxygen on the t() method should be just:

  /**
   * Translates a string to the current language or to a given language.
   *
   * See the t() documentation for details.
   */
  protected function t($string, array $args = array(), array $options = array()) {
    return $this->stringTranslation->translate($string, $args, $options);
  }
CommentFileSizeAuthor
#1 2079095-1.patch1.41 KBpwolanin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pwolanin’s picture

Priority: Normal » Minor
Status: Active » Needs review
FileSize
1.41 KB
ParisLiakos’s picture

Status: Needs review » Reviewed & tested by the community

oh yes

ParisLiakos’s picture

Issue tags: +Quick fix

tag

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, sorry for missing that.

Committed and pushed to 8.x.

Automatically closed -- issue fixed for 2 weeks with no activity.