-
- Downloads
[REF] Code readability changes on activity tokens.
I've been trying to get to grips with this code and this addresses 2 things I found very confusing - notably - using activityId when we were referring to a fieldname - we use a combination of & for variables but normally when it's closely related to a query we use activity_id - the function name getEntityContextSchema() was unclear to me - I concluded that in fact we were retrieving the nname of the field for the entity ID
Showing
- CRM/Activity/Form/Task/PDFLetterCommon.php 2 additions, 2 deletionsCRM/Activity/Form/Task/PDFLetterCommon.php
- CRM/Activity/Tokens.php 8 additions, 4 deletionsCRM/Activity/Tokens.php
- CRM/Core/TokenTrait.php 2 additions, 1 deletionCRM/Core/TokenTrait.php
- Civi/Token/TokenProcessor.php 1 addition, 1 deletionCivi/Token/TokenProcessor.php