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.
Replacing t function with $this->t in class file
Comment | File | Size | Author |
---|---|---|---|
#8 | 2755773-translation-trait-8.patch | 634 bytes | Sam152 |
| |||
#4 | replace-direct-call-of-t-function-in-ClassFile.patch | 29.45 KB | Chandan Chaudhary |
replace-direct-call-of-t-function-in-ClassFile.patch | 29.45 KB | Chandan Chaudhary | |
Comments
Comment #2
Chandan Chaudhary CreditAttribution: Chandan Chaudhary as a volunteer and commentedComment #4
Chandan Chaudhary CreditAttribution: Chandan Chaudhary as a volunteer and commentedComment #7
frjo CreditAttribution: frjo commentedCommitted, thanks for the contribution.
Comment #8
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedThis failed the tests and broke most of the functionality in HEAD. Attaching a patch to fix.
Comment #9
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedComment #11
frjo CreditAttribution: frjo commentedThanks @Sam152 for fixing this!