t() calls should be avoided in classes

Created on 13 March 2024, 9 months ago

Drupal classes should not use t() to translate strings, but use dependency injection, for example via StringTranslationTrait.

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India chaitanyadessai Goa

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