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);
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2079095-1.patch | 1.41 KB | pwolanin |
Comments
Comment #1
pwolanin commentedComment #2
ParisLiakos commentedoh yes
Comment #3
ParisLiakos commentedtag
Comment #4
webchickThanks, sorry for missing that.
Committed and pushed to 8.x.