Problem/Motivation

Token API has been updated to consider cacheability metadata.
More info in the change record Token replacement needs to consider cacheability metadata

Proposed resolution

Update currency_tokens() with the API changes.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

xano’s picture

Would you be able to write a patch?

mbovan’s picture

Status: Active » Needs review
StatusFileSize
new713 bytes

Providing a patch.
Added $bubbleable_metadata in currency_tokens().

mbovan’s picture

- Cached loaded currency code
- Fixed code style
- Removed set for optional parameters, as they are always present.

xano’s picture

Thanks!

  • Xano committed f526664 on 8.x-3.x authored by mbovan
    Issue #2539254 by mbovan: Update Currency with Token changes
    
xano’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.