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

Created on 29 June 2023, over 1 year ago
Updated 5 September 2024, 4 months 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().

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India Harshita mehra

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024