Empty top bar actions dropdown

Created on 27 July 2025, 10 days ago

Problem/Motivation

I want to add a top bar item plugin to display Layout Builder save and discard change buttons.

The rendering is inspired by PageActions plugin.

This led me to see that core/modules/navigation/templates/top-bar-page-actions.html.twig does not check if page_actions is empty before printing the dropdown.

Proposed resolution

Check Twig variables.

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

navigation.module

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024