PHPCS message:

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

Comments

VladimirAus created an issue. See original summary.

  • VladimirAus committed ba659d8 on 8.x-1.x
    Issue #3114759 by VladimirAus: Use $this->t() instead of t() in classed
    
vladimiraus’s picture

Status: Active » Needs review

Added to release

vladimiraus’s picture

Status: Needs review » Reviewed & tested by the community
vladimiraus’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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