Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
according to https://www.drupal.org/docs/8/api/translation-api-code-text replace t() with $this->t()
Comment | File | Size | Author |
---|---|---|---|
#5 | replace_t-5.patch | 3.74 KB | slasher13 |
replace_t.patch | 10.07 KB | slasher13 | |
Comments
Comment #2
slasher13Comment #4
ChristianAdamski CreditAttribution: ChristianAdamski as a volunteer and at Wolters Kluwer commentedThis is somehow good for performance.
Comment #5
slasher13some more
Comment #7
ChristianAdamski CreditAttribution: ChristianAdamski as a volunteer and at Wolters Kluwer commentedThanks