Add Navigation Top Bar integration for Coffee module in Drupal ~11.2.0 and Gin ~5.0

Created on 14 July 2025, about 6 hours ago

Problem/Motivation

The Coffee module provides a quick navigation interface but does not appear in the new Navigation Top Bar introduced in Drupal ~11.2.0. As Gin ~5.0 and Navigation modules become the new standard, users expect Coffee to integrate seamlessly with the new UI.

Steps to reproduce

1. Install Coffee on a Drupal ~11.2.0 with Gin ~5.0
2. Navigate to any page in the site.
3. Observe that Coffee is not available in the Navigation Top Bar tools region.

Proposed resolution

Implement a new `TopBarItem` plugin in the Coffee module that registers a Coffee button in the `TopBarRegion::Tools` area. Ensure that it's only visible to users with the `access coffee` permission and attach the required `coffee` library for functionality.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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