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.
t() calls should be avoided in classes use $this->t()
Comment | File | Size | Author |
---|---|---|---|
#2 | translation-3023622-2.patch | 11.75 KB | mahtab_alam |
Comments
Comment #2
mahtab_alam CreditAttribution: mahtab_alam at Valuebound commentedComment #3
mahtab_alam CreditAttribution: mahtab_alam at Valuebound commentedComment #5
johnvComment #6
johnvComment #8
johnvthanks. leaving thsi a 'needs work' since
- i did not test src/Plugin/Action/WorkflowStateActionBase.php yet
- there are many more remaining calls to t()
Comment #9
mahtab_alam CreditAttribution: mahtab_alam at Valuebound commentedI will look into this if there is any remaining t()
@johnv why this task is moved to needs work?
Comment #11
mahtab_alam CreditAttribution: mahtab_alam at Valuebound commentedComment #12
johnvbecause this task is not completed, ,yet.
We can create a new issue for each file, but that is not efficient.
And, I did not test and not implement src/Plugin/Action/WorkflowStateActionBase.php yet
Comment #14
johnv