t() calls should be avoided.

Created on 20 June 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 add $this->t() instead.

🐛 Bug report
Status

RTBC

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