[REF] dev/core#2790 towards pdf task trait
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 27 Aug 2021 02:29:55 +0000 (14:29 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 31 Aug 2021 02:26:12 +0000 (14:26 +1200)
commitd9ca98b7fde1604e9a1fbef4286d57b823aee170
tree77c3697b5900e294010e9ca22b426f7e14a9bdf8
parentd5524df738ad3e02d0de73c0d59dde5bb38fad2d
[REF] dev/core#2790 towards pdf task trait

Deprecate CRM_Activity_Form_Task_PDFLetterCommon

This gets us to having 2 classes rather than 3 that manage the activityPDF task
functionality.

CRM_Activity_Form_Task_PDFLetterCommon doesn't really add anything from a structure POV
but it does make it more confusing. There are also functions on the parent
that are only used by this class - which makes switching to a trait
harder. This untangles that part.

Note that once we have the trait (& some more token cleanup done) we will be well placed
to re-share some of these functions again
CRM/Activity/Form/Task/PDF.php
CRM/Activity/Form/Task/PDFLetterCommon.php
CRM/Core/Form/Task/PDFLetterCommon.php
tests/phpunit/CRM/Activity/Form/Task/PDFLetterCommonTest.php