Problem/Motivation

Display Builder 1.0.0-beta9 (22 October 2026) makes every buildable implement AccessibleInterface::access(), and an override buildable getDefaultSources() and deleteOverride() in place of revert(). 1.0.0-beta10 (6 November 2026) also drops the static instance ID helpers and makes getPrefix() an instance method. Web Dashboard 1.0.6 has none of this, so any site that resolves beta9 or later stops with a PHP fatal error while installing.

Steps to reproduce

  1. Require drupal/webdashboard:1.0.6 with drupal/display_builder:1.0.0-beta9 or later.
  2. Install the module, or a recipe or profile that installs it.

PHP Fatal error: Class Drupal\webdashboard\Plugin\display_builder\Buildable\DashboardBuildable contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\Core\Access\AccessibleInterface::access)

Proposed resolution

  • Both buildables implement access(), as the page layout buildable does, in place of the static checkAccess().
  • The personalized dashboard implements getDefaultSources() and deleteOverride(), and the reset form calls deleteOverride().
  • Add toUrl() for beta10, and keep the helpers beta9 still asks for. The prefix becomes a class constant, so the same code runs on beta9 and beta10.
  • composer.json requires drupal/display_builder:^1.0.0-beta9. Beta8 no longer works.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ✅ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Reviewed by a human
  • ✅ Code review by maintainers
  • ✅ Full testing and approval
  • ❌ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes
  • ✅ Release

User interface changes

  • N/A

API changes

  • The static checkAccess() of both buildables and DashboardOverrideBuildable::revert() are replaced by access(), getDefaultSources() and deleteOverride().

Data model changes

  • N/A

Release notes snippet

  • Web Dashboard works with Display Builder 1.0.0-beta9 and later, and now requires it.

AI-Generated: Yes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed 8555e494 on 1.0.x
    fix: #3635967 Make Drupal Website Dashboard compatible with Display...
rajab natshah’s picture

Issue summary: View changes
Status: Active » Fixed
Issue tags: +webdashboard-1.0.7

✅ Released webdashboard-1.0.7

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.