Return the right cache contexts from the price formatters

Created on 19 September 2015, over 9 years ago
Updated 16 February 2025, 2 months ago

Once 📌 Convert the country and locale resolvers to return value objects Fixed and 📌 Create a country cache context Fixed are done, the price formatters should return the language and country contexts.

That needs to look something like this:

$elements[$delta] = [
  '#cache' => [
    'contexts' => [
       'languages:' . LanguageInterface::TYPE_INTERFACE,
        'country',
    ],
  ],
📌 Task
Status

Fixed

Version

2.0

Component

Developer experience

Created by

🇷🇸Serbia bojanz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024