Problem/Motivation
For some obscure reasons contextual links just get added to system provided menus (tools, admin, etc.)
though skipped for custom menus, which though certainly could profit from them as well.
Proposed resolution
Adapt the logic to also include the other menus.
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | interdiff-8-5.txt | 871 bytes | idebr |
| #8 | menu_contextual-2314985-8.patch | 3.57 KB | idebr |
| #6 | 2314985-5-after.png | 13.41 KB | idebr |
| #6 | 2314985-5-before.png | 12.94 KB | idebr |
Comments
Comment #1
dawehnerHere is a patch.
Comment #3
dawehnerYeah two patches at once. Let's adapt the test coverage to test this as well.
Comment #4
jhedstromComment #5
idebr commentedComment #6
idebr commentedYes please, this is very useful for administration :)
Screenshot before:
Screenshot after:
Comment #8
idebr commentedI updated the test added in #2379083: Regression (again): Menu contextual links no longer visible in menu blocks, when block caching is enabled to include the custom block id instead of the hardcoded assumption.
Comment #9
idebr commentedComment #11
idebr commentedComment #12
alexpottThis is really nice. This issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 33066b7 and pushed to 8.0.x. Thanks!