Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardise listTokens in email & pdf taskes #21696

Closed
wants to merge 1 commit into from

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

This simplifies the code to 'listtokens' across most of the pdf & email classes.

It has the side effect of exposing domain tokens consistently (good)

Before

Variety is the spice of life

After

Bor-ring - all forms do it the same way .... almost.

Technical Details

The case tokens are a bit of a hold out as ideally we would have
one function on CRM_Case_Form_Task which email & pdf would use
but we are still getting to that point - see
#21688

Comments

This simplifies the code to 'listtokens' across most of the pdf & email classes.

The case tokens are a bit of a hold out as ideally we would have
one function on CRM_Case_Form_Task which email & pdf would use
but we are still getting to that point - see
civicrm#21688
@civibot
Copy link

civibot bot commented Oct 1, 2021

(Standard links)

@colemanw
Copy link
Member

colemanw commented Oct 5, 2021

Closing as this was a sub-PR and the parent has been merged.

@colemanw colemanw closed this Oct 5, 2021
@eileenmcnaughton eileenmcnaughton deleted the list branch October 5, 2021 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants