Issue #2843267 by tibezh, nehakhadke, dhwani.addweb, e0ipso: $this->t() should be used instead of t() for Drupal 8 version