Replace t() calls with $this->t() in Views' views plugins

Created on 2 April 2015, almost 10 years ago
Updated 11 May 2024, 9 months ago

Problem/Motivation

Many of Views' own views plugin classes still call t() instead of $this->t().

Proposed resolution

Replace all calls to t() with $this->t(), because the classes already use StringTranslationTrait anyway.

Remaining tasks

None.

User interface changes

None.

API changes

None.

πŸ“Œ Task
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom Xano Southampton

Live updates comments and jobs are added and updated live.
  • Needs beta evaluation

    Since the first beta of Drupal 8 was released, every new 8.0.x issue should have a beta evaluation in the summary, to help clarify whether the 8.0.0 release is a target for that issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024