| Comment | File | Size | Author |
|---|---|---|---|
| #24 | 2962649-24.patch | 3.94 KB | nikhil_110 |
| #23 | 2962649-nr-bot.txt | 144 bytes | needs-review-queue-bot |
| #10 | interdiff2962649-7-10.txt | 5.34 KB | aleevas |
| #10 | 2962649-10.patch | 3.94 KB | aleevas |
| Comment | File | Size | Author |
|---|---|---|---|
| #24 | 2962649-24.patch | 3.94 KB | nikhil_110 |
| #23 | 2962649-nr-bot.txt | 144 bytes | needs-review-queue-bot |
| #10 | interdiff2962649-7-10.txt | 5.34 KB | aleevas |
| #10 | 2962649-10.patch | 3.94 KB | aleevas |
Comments
Comment #2
cilefen commentedComment #5
barig commentedHi !
I created a patch for file core module to allow choosing "New tab" on file field formatter settings.
I don't think it can be merged as is since it only works for "Generic file" formatter but it's what I needed (and hope what other people could need).
Regards,
Barig
Comment #7
barig commentedI rerolled the patch with the schema file updated so automatic tests won't fail ;-)
Comment #8
barig commentedComment #10
aleevasHere is my patch.
Fixed failed test.
Also I've renamed this new field from
new_tabtoopen_in_new_tab.Such fullname looks more clear for me.
Comment #12
pakmanlhTested #10 in 8.7 and worked like a charm.
Many thanks for this excellent feature! 💚
Comment #13
Anonymous (not verified) commentedTested #10 in 8.8 and it worked perfectly fine. Thanks.
Comment #14
idebr commentedThere is an ongoing discussion whether links should open in a new window, see #2702881: [policy, no patch] Formalize how external links are handled in core
Potential downsides are reduced accessibility and security concerns.
Comment #15
BalajiDS commentedPatch #10 in 8.8.6 and it worked perfectly fine thanks @aleevas
Comment #17
jlbellidoJust verified #10 on 9.1.5 and worked like a charm.
Thanks
Comment #18
vikashsoni commentedThanks for patch #10 it worked perfectly fine. Thanks....
Comment #23
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #24
nikhil_110 commentedAttached patch against Drupal 9.5.x
Patch #10 is not applied for Drupal 9.5.x so Inter-diff file is not added.