Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Please replace deprecated t()
with $this->t()
and DI usage.
FILE: ...r/drupal/pareviewsh/pareview_temp/src/YoutubechannelSettingsForm.php
--------------------------------------------------------------------------
FOUND 0 ERRORS AND 11 WARNINGS AFFECTING 11 LINES
--------------------------------------------------------------------------
75 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
81 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
85 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
90 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
94 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
99 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
103 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
108 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
112 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
117 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
121 | WARNING | t() calls should be avoided in classes, use dependency
| | injection and $this->t() instead
--------------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#2 | 3073769-2.patch | 2.97 KB | vuil |
Comments
Comment #2
vuilComment #3
vuilComment #4
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedTested above patch & working fine. Thanks vuil.
Comment #5
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedComment #6
NitinSP CreditAttribution: NitinSP at Cognizant Technology Solutions commentedTested above patch & working fine. Thanks vuil.
Comment #7
vuilComment #8
i-trokhanenkoComment #10
i-trokhanenko