Core's Toolbar module doesn't display a "Dashboard" link after install

Created on 17 April 2025, 30 days ago

Problem/Motivation

When you first install the Dashboard module, the "Dashboard" link in the Core's Toolbar is not displayed. This can be confusing for people who are new to the module.

Flushing caches fixes it.

Steps to reproduce

  1. Download drupal-11.1.6 and dashboard-2.0.0 - I did this by running...
    git clone --branch 2.x https://git.drupalcode.org/project/dashboard.git
    cd dashboard
    ddev config --project-type=drupal --docroot=web --php-version=8.3 --corepack-enable --project-name=dashboard
    ddev start
    ddev poser
    ddev symlink-project
    ddev config --update
    ddev restart
    ddev launch
    
  2. Install Drupal using the Standard install profile.
  3. Install dashboard from the Extend page at /admin/modules.
    • Expected behavior: A "Dashboard" link appears in the "Manage" section of the Toolbar
    • Actual behavior: The Toolbar is unchanged
  4. Go to /admin/config/development/performance. Click the "Clear all caches" button
    • Note that after the cache is cleared, a "Dashboard" "Dashboard" link appears in the "Manage" section of the Toolbar

Proposed resolution

Not sure yet!

Remaining tasks

  1. Write a patch
  2. Review and feedback
  3. RTBC and feedback
  4. Commit
  5. Release

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada mparker17 UTC-4

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

Comments & Activities

  • Issue created by @mparker17
  • πŸ‡ΊπŸ‡ΈUnited States dalemoore

    Is this talking about the Dashboard block that gets added? I see it gets added in Drupal CMS, but on a separate site I'm using that is just Drupal Core I installed the Dashboard module and the Dashboard block isn't available to be placed into the navigation area. I'm on Drupal 10, does that matter?

Production build 0.71.5 2024