As forms and controllers are classes in Drupal 8 and it is kind of weird to have procedural code in between Oops code.
So just change all occurence of t() with it object oriented version.

CommentFileSizeAuthor
#2 2608868-2.patch4.63 KBjoshi.rohit100
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joshi.rohit100 created an issue. See original summary.

joshi.rohit100’s picture

Status: Active » Needs review
FileSize
4.63 KB

juampynr’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.