Problem/Motivation

Drupal and DrupalPractice asked for use of method $this-t

Proposed resolution

use trait Drupal\Core\StringTranslation\StringTranslationTrait

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

thalles created an issue. See original summary.

thalles’s picture

Status: Needs work » Needs review
StatusFileSize
new1.25 KB

Hi, congratulations for the module!
Follow the patch!

thalles’s picture

StatusFileSize
new876 bytes

Follows a patch without modification in the file token.tokens.inc

  • Berdir committed 759a3c6 on 8.x-1.x authored by thalles
    Issue #3016438 by thalles: use function t()
    
berdir’s picture

Status: Needs review » Fixed

Committed.

thalles’s picture

Thanks Berdir!

Status: Fixed » Closed (fixed)

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