To make plugins unit testable t() should be replaced by $this->t.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pradnya Pingat created an issue. See original summary.

Pradnya Pingat’s picture

Assigned: Pradnya Pingat » Unassigned
Status: Active » Needs review
FileSize
4.25 KB

Please find attached patch.

jordana’s picture

Tested 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:

jordana’s picture

Issue summary: View changes
jordana’s picture

Status: Needs review » Reviewed & tested by the community

g089h515r806’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.