Skip to content

Commit

Permalink
Add self_cancel_xfer tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Oct 11, 2023
1 parent 3d2eb13 commit 8700d53
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 8700d53

Please sign in to comment.