Problem/Motivation

workbench_menu_access_alter_menu_link_forms() uses $access_result instanceof AccessResultReasonInterface without correctly specifying the namespace of the AccessResultReasonInterface.

Steps to reproduce

Browse to a menu form where the exception is triggered.
The exception never contains a reason.

Proposed resolution

The full class path should be specified.

Remaining tasks

I will submit a patch.

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

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review

agentrickard’s picture

Status: Needs review » Fixed

Committed to 2.0.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.