Remove the is_front cache context for the toolbar container

Created on 22 March 2023, over 1 year ago

Problem/Motivation

Bootstrap's preprocess in https://git.drupalcode.org/project/bootstrap/-/blob/8.x-3.x/src/Bootstra...
Adds the cache context globally, which we don't really need for our administration menu.

This is mainly due to the Container preprocess, which is also running for the toolbar.
The rest can be safely removed in a preprocess written inside our module handlers.

Steps to reproduce

Using: https://forms.gle/U9KPXMni3TYe8aUr9
You can see the toolbar has a cache tag for the `url.page.is_front`

Proposed resolution

Remove it here for the

administration_menu

Which is the key of the render array we use in SocialAdminMenuAdministratorMenuLinkTreeManipulators.php

πŸ› Bug report
Status

Fixed

Version

2.4

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands ronaldtebrake

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

Comments & Activities

Production build 0.69.0 2024