Workspaces Integration

Created on 9 February 2021, almost 4 years ago
Updated 7 August 2024, 5 months ago

Problem/Motivation

When installing Easy Breadcrumb with Core Workspaces enabled the following exception is thrown:

Argument 10 passed to Drupal\easy_breadcrumb\EasyBreadcrumbBuilder::__construct() must be an instance of
Drupal\Core\Menu\MenuLinkManager, instance of Drupal\workspaces\WorkspacesMenuLinkManager given ...

This can be prevented by using the recommended Interface instead of the implementing class

Proposed resolution

Use the MenuLinkManagerInterface instead of MenuLinkManager
in dependency injection of EasyBreadcrumbBuilder constructor.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇩🇪Germany akoe

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024