Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293174

Return TranslationWrapper in t() and $this->t() directly

$
0
0

Problem/Motivation

Now that TranslationManager::translate() no longer translates, but rather returns
a TranslationWrapper we could simplify the call chain of t() and $this->t()
quite a lot.

Proposed resolution

convert t() and $this->t() to return a TranslationWrapper

Remaining tasks

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 293174

Trending Articles