Replace the t() calls to $this->t() in classes.

Created on 28 June 2023, almost 2 years ago

Problem/Motivation

t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead.

Steps to reproduce

There are still t() calls on some lines.
Remove t() and add $this->t().

🐛 Bug report
Status

Needs review

Component

Code

Created by

🇮🇳India Harshita mehra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024