t() calls should be avoided in classes and Exceptions should not be translated

Created on 23 June 2023, about 1 year ago

Problem/Motivation

t() calls should be avoided in classes.

Proposed resolution

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

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India arti_parmar

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

Comments & Activities

Production build 0.69.0 2024