Issue #3228017 by Rajeshreeputra, silvi.addweb, ankithashetty, Amandeep123: /Drupal calls and t() calls should be avoided in classes
Closes #3228017