Problem/Motivation
In #3025657-50: Add views area plugin to display a link to another view display within the same view the display link plugin was added and the suggestion was made to use '#theme' => 'link__views_display_link'
to allow the display links to be themed.
While working on #2981044: Unify the grid/table views of the media library, I noticed the log contains a lot of Theme hook link not found.
errors, caused by the fact link__views_display_link
builds on a non-existing hook_link.
Proposed resolution
Since hook link was removed on purpose (https://www.drupal.org/node/2061877), and you can already use hook_link_alter
to change the link, let's just remove '#theme' => 'link__views_display_link'
to fix the issue for now.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3033404-2-PASS.patch | 2.3 KB | phenaproxima |
#2 | 3033404-2-FAIL.patch | 1.42 KB | phenaproxima |
Comments
Comment #2
phenaproximaOK, here is the fix with a test.
Comment #4
seanBYay! Looks good to me.
Comment #6
xjmCommitted and pushed to 8.7.x. Thanks!