-
- Downloads
Reconcile contribution amount tokens
This adds non_deductible_amount, as identified in https://github.com/civicrm/civicrm-core/pull/21034 It also moves the metadata functions to a parent class - this class might wind up being a temporary class as there are 3 other contenders for where this functionality should go - the TokenTrait, the abstractProvider or the tokenRow class. The intent is not to make that decision yet - just to provide visual clarity about what is generic Note - I've figured out how to switch over to v4 api for this but will do that in a separate PR
Showing
- CRM/Contribute/Tokens.php 13 additions, 50 deletionsCRM/Contribute/Tokens.php
- CRM/Core/EntityTokens.php 78 additions, 0 deletionsCRM/Core/EntityTokens.php
- Civi/Token/TokenRow.php 1 addition, 0 deletionsCivi/Token/TokenRow.php
- tests/phpunit/CRM/Contribute/ActionMapping/ByTypeTest.php 14 additions, 1 deletiontests/phpunit/CRM/Contribute/ActionMapping/ByTypeTest.php
CRM/Core/EntityTokens.php
0 → 100644
Please register or sign in to comment