Skip to content

Commit

Permalink
Merge pull request #27785 from eileenmcnaughton/tokens_more
Browse files Browse the repository at this point in the history
Add event.self_cancel_xfer tokens
  • Loading branch information
yashodha authored Oct 13, 2023
2 parents fa022b9 + 8700d53 commit c324e6c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CRM/Event/Tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ protected function getEventTokenValues(int $eventID = NULL): array {
'loc_block_id.phone_2_id.phone_ext',
'loc_block_id.phone_2_id.phone_type_id:label',
'is_show_location:label',
'allow_selfcancelxfer',
'allow_selfcancelxfer:label',
'selfcancelxfer_time',
'is_public:label',
'is_share',
'is_share:label',
Expand Down Expand Up @@ -263,6 +266,8 @@ protected function getExposedFields(): array {
'description',
'is_show_location',
'is_public',
'allow_selfcancelxfer',
'selfcancelxfer_time',
'confirm_email_text',
'is_monetary',
'fee_label',
Expand All @@ -285,6 +290,8 @@ protected function getTokenMetadataOverrides(): array {
'is_public' => ['audience' => 'sysadmin'],
'is_show_location' => ['audience' => 'sysadmin'],
'is_monetary' => ['audience' => 'sysadmin'],
'allow_selfcancelxfer' => ['audience' => 'sysadmin'],
'selfcancelxfer_time' => ['audience' => 'sysadmin'],
];
}

Expand Down

0 comments on commit c324e6c

Please sign in to comment.