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.
To make plugins unit testable t() should be replaced by $this->t.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2797579-form-submit-after-patch.png | 30.35 KB | jordana |
#3 | 2797579-form-submit-before-patch.png | 23.89 KB | jordana |
#3 | 2797579-form-before-patch.png | 39.98 KB | jordana |
#3 | 2797579-form-after-patch.png | 25.11 KB | jordana |
#2 | 2797579-2.patch | 4.25 KB | Pradnya Pingat |
Comments
Comment #2
Pradnya Pingat CreditAttribution: Pradnya Pingat at Blisstering Solutions commentedPlease find attached patch.
Comment #3
jordanaTested patch and both markup and display are good.
I checked both when editing the form and when submitted form.
Form Edit Before:
Form Edit After:
Form Submit Before:
Form Submit After:
Comment #4
jordanaComment #5
jordanaComment #7
g089h515r806 CreditAttribution: g089h515r806 commented