As per the coding standards,use $this->t() instead of t()

Comments

veerabhadra created an issue. See original summary.

veerabhadra’s picture

Title: t() calls should be avoided in classes, use $this->t() instead » use $this->t() instead of t()
Issue summary: View changes
ziomizar’s picture

Status: Active » Closed (works as designed)

$this can be used just in object context