Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Thanks for the module, great to see a stable D8 version. I really like the option to link the thumbnail to the provider URL, as it helps me work around cookie policy issues. However I would appreciate an option to make the URL open in a new tab. Patch will follow.
Comment | File | Size | Author |
---|---|---|---|
#16 | interdiff.txt | 783 bytes | gambry |
#16 | open_link_in_new_tab-2857350-16.patch | 7.11 KB | gambry |
Comments
Comment #2
marcvangendHere's my patch!
Comment #3
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedNeeds some tests. Adding a test case to FieldOutputTest is probably good enough here.
Comment #4
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedYikes, why is the bot saying "No tests found".
Comment #5
marcvangendThanks for the quick feedback. I added a test case, and updated a couple of similar test cases.
Comment #6
marcvangendComment #7
marcvangend@Sam152 documentation says:
(https://www.drupal.org/docs/8/phpunit/running-phpunit-tests)
Comment #8
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedThey have been running in the past: https://www.drupal.org/node/1243930/qa
Comment #9
marcvangendSure, I didn't mean to question if they did work before. But it might be part of the answer why they don't work now. When I search Google for
"D8.4 No tests found"
(including the quotes) I get 137 results and the majority of results is very recent. By contrast,"D8.3 No tests found"
yields no results at all.Comment #10
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedYeah, it's just odd. I'll rerun them and see if it was just a random testbot fail.
Comment #11
gambryThis is a nice piece of functionality, I'm assuming required for 99% of the cases when the link has to point to the provider (and UX best practice suggests to open this links in new tabs).
Trying to re-test as I can see HEAD is now running the tests properly.
If all are green I will remove the tag and RTBC.
Comment #13
gambryLet's re-roll #5. I haven't changed the patch, just manually updated the bottom of the first hunk from:
to
For the patch to apply nicely.
Comment #14
gambryThis looks to be the reason for "No tests found":
Comment #15
gambryWorking on this.
Comment #16
gambryComment #18
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedWith the advent of Media in core, the Video Embed Field module has moved to being minimally maintained. Only issues which assist in the migration to Media in core will be committed. To read more about this decision, please see: #3089599: Maintenance status for Video Embed Field now that media is in core.