Skip to content
Snippets Groups Projects

Fixed cache tags not getting set on toolbar.

Closes #3425499

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
184 181 ],
185 182 ];
186 183
184 // Add cache tags to the toolbar item while preserving context.
185 $items['environment_indicator']['#cache'] += [
186 'tags' => Cache::mergeTags([
187 'config:environment_indicator.settings',
188 'config:environment_indicator.indicator'
189 ], $this->getCacheTags()),
190 ];
191
  • Chris Green added 1 commit

    added 1 commit

    • b76d4490 - Update how we update the cache tags array to account for whether there are existing cache tags.

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    • da76f548 - Update code style so it is easier to read.

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    • 4d74ecbe - Using chx's suggestion from...

    Compare with previous version

  • Chris Green added 1 commit

    added 1 commit

    • cf2b1aa6 - Change back to simpler form of merging cache tags.

    Compare with previous version

  • added 15 commits

    • cf2b1aa6...69d13a86 - 7 commits from branch project:4.x
    • 45dbb868 - Fixed cache tags not getting set on toolbar.
    • 64b30dc4 - Add additional config
    • cf9dea34 - Apply 1 suggestion(s) to 1 file(s)
    • d6f3d163 - Clarify comment.
    • d965612a - Update how we update the cache tags array to account for whether there are existing cache tags.
    • cf02dbe8 - Update code style so it is easier to read.
    • f4169c81 - Using chx's suggestion from...
    • b48cdec0 - Change back to simpler form of merging cache tags.

    Compare with previous version

  • Please register or sign in to reply
    Loading