Register token event not available
With the TokenProcessor
implementation one could register tokens with the registerToken
event. See the docs: https://docs.civicrm.org/dev/en/latest/framework/token/#token-events-v47
However the registerToken
event doesn't do anything. Also the class CRM_Activity_Tokens
provide custom field tokens of activities for scheduled reminders. But those tokens don't show up in the token list when composing a scheduled reminder.
I would propose two things:
- Make the
registerToken
event working - Make sure the activity tokens are visible in the list with tokens when composing a scheduled reminder. (This is possibly fixed when we fix 1.
Btw tested this in CiviCRM 5.8.0 and CiviCRM 5.12