t() calls should be avoided.

Created on 21 June 2023, over 1 year ago
Updated 11 August 2023, over 1 year ago

Problem/Motivation

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

Steps to reproduce

Remove t() and use $this->t() in your .php file.

๐Ÿ› Bug report
Status

Fixed

Version

1.0

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