In NavigationExtraLocalTasksBlock, the access check on the local task links in the build function assumes the #access property is a value of type Drupal\Core\Access\AccesResult. But in some cases this can be a boolean value.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3512470-local-task-access-3.patch | 1.55 KB | kensae |
Issue fork navigation_extra-3512470
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
Comment #3
kensae commentedComment #4
kensae commentedComment #7
kriboogh commentedThanks. Modules can indeed alter the local tasks build array and set the #access to a boolean instead of the AccessResult object that core is putting on the build array.
Merged in dev.