Theme hook 'navigation' vanished after disabling navigation module

Created on 3 May 2024, 14 days ago
Updated 4 May 2024, 14 days ago

Problem/Motivation

After installing and uninstalling the navigation module, issues are raised by some contrib projects with the `navigation` theme hook not found.

Steps to reproduce

* Install fresh D11 on minimal profile
* Install the navigation module
* Add drupal/gin and drupal/gin_toolbar
* Install the Gin theme + enable gin_toolbar
* In theme settings, select "Show Secondary Toolbar in Frontend"
* Save and go to front page
* Result: the secondary toolbar is not displayed on front

This is the warning message logged by the ThemeManager:
Theme hook navigation not found

Proposed resolution

TBD

Remaining tasks

* Identify where is the navigation theme hook declared / override by the navigation module
* Fix the situation on module uninstall (?)

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
NavigationΒ  β†’

Last updated about 4 hours ago

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

Comments & Activities

Production build 0.67.2 2024