Views contextual links break a lot.
Each time we've added tests.
This is no exception.
This fix is borrowed from #1927608: Remove the tight coupling between Block Plugins and Block Entities, as is the custom_block cleanup.
Basically, the element that Views has access to when adding the contextual link is one level nested below where it needs to be.
Custom Block has the same problem, so it implements an alter just to move it up one level.
The fix is to genericize that helper code.
Attachment | Size | Status | Test result | Operations |
---|---|---|---|---|
contextual-links-FAIL.patch | 1.24 KB | Idle | FAILED: [[SimpleTest]]: [MySQL] 54,538 pass(es), 1 fail(s), and 0 exception(s). | View details | Re-test |
contextual-links-PASS.patch | 2.88 KB | Idle | PASSED: [[SimpleTest]]: [MySQL] 54,448 pass(es). | View details | Re-test |