[Ref] Cleanup on SelectValues::contributeTokens
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 14 Sep 2021 03:05:55 +0000 (15:05 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 14 Sep 2021 03:05:55 +0000 (15:05 +1200)
commit1ee56218b7aa8ecad64128f5ff57e3290aac9be9
treeff4c6e51e7455e235be13a41d4d0274bc78f3830
parenta20a1f64e9b55b937783e0a157bf77a3fe2d9424
[Ref] Cleanup on SelectValues::contributeTokens

This has 100% test cover in the ByTypeTest::testTokenRendering test

The change means we no longer need the recently-added function
to be public & hence it is switched to protected.

Note this is the same as the equivalent contactTokens function
CRM/Core/EntityTokens.php
CRM/Core/SelectValues.php