(REF) Extract TestBanner as listener
authorTim Otten <totten@civicrm.org>
Fri, 23 Jun 2023 03:58:03 +0000 (20:58 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 23 Jun 2023 05:01:56 +0000 (22:01 -0700)
commit718486dd80537200e61363491b6cbf32e1903cd2
treef288e3a802f0bf8ee3cdcd17c2cb4807d36fb1d1
parent792d2ee7f0393b3304f053f9410a45ec06d4ca59
(REF) Extract TestBanner as listener

To r-run this, I used the following procedure:

* Take an arbitrary `Contribution` from example DB (eg id=100)
* Update in SQL (`SET is_test=1 WHERE id=100`)
* Send mailing with `cv api Contribution.sendconfirmation id=100`
* Check email log
CRM/Core/BAO/MessageTemplate.php
Civi/WorkflowMessage/TestBanner.php [new file with mode: 0644]