Unable to remove Gin Toolbar using 'composer remove'

Created on 6 March 2025, 28 days ago

Problem/Motivation

We love the Gin admin theme so we clearly wat to keep that for backend and content editing.

For administering our removing The Admin Toolbar and Toolbar modules because we are moving to Coffee instead.

Thus, we no longer need the Gin Toolbar module but when we go to remove it using composer, we are seeing...

$ composer remove drupal/gin_toolbar
drupal/gin_toolbar is not required in your composer.json and has not been removed
./composer.json has been updated
Running composer update drupal/gin_toolbar
Loading composer repositories with package information
Dependency drupal/core is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove

Can anyone please advise here?

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom SirClickALot Somerset

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

Comments & Activities

  • Issue created by @SirClickALot
  • 🇨🇭Switzerland saschaeggi Zurich

    Gin toolbar is a hard requirement for Gin and can't be removed as it's a theme (module) dependency. You can deinstall it though Gin will lack some features. It polyfills lots of functionalities which only a module can do as themes have certain restrictions. It's use is way beyond toolbar nowadays (even though it started as just for that one purpose) and will also serve for the new navigation.

    Cheers!

Production build 0.71.5 2024