t() calls should be avoided in classes

Created on 13 March 2024, 4 months ago

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

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India chaitanyadessai

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024