Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293211

Views blocks are missing contextual links

$
0
0

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.

AttachmentSizeStatusTest resultOperations
contextual-links-FAIL.patch1.24 KBIdleFAILED: [[SimpleTest]]: [MySQL] 54,538 pass(es), 1 fail(s), and 0 exception(s).View details | Re-test
contextual-links-PASS.patch2.88 KBIdlePASSED: [[SimpleTest]]: [MySQL] 54,448 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 293211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>