Closed (won't fix)
Project:
Drupal core
Version:
11.x-dev
Component:
link.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Dec 2015 at 03:30 UTC
Updated:
10 Oct 2025 at 16:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
felribeiro commentedComment #3
swentel commentedHmm, yeah, it's kind of confusing. If you empty the textfield, it works fine. So maybe we should just change the min to 0 and get that in for a patch release even ?
- edit - and even turn this into a bug report ?
Comment #4
davidwbarratt commentedThe help text says:
Is that not happening?
Comment #5
felribeiro commentedComment #7
prashant.cMade a minor change in the previous patch.
Comment #8
prashant.cComment #9
swentel commentedI guess we should add an explicit test for this too.
Comment #11
felribeiro commented@prashant.c ,
I don't know if it's possible to use three "=" in $settings['trim_length'] === 0, because when I access the page, the field type is 'int' but when I click to configure and update, the ajax return is 'string' and shows a wrong message "Link text not trimmed".
Comment #12
felribeiro commentedComment #13
mac_weber commentedWhat is the difference from the expected behavior of this patch and having the "Link text" set as optional?
If the Link text is not optional, then IMHO it must have some text.
Comment #15
felribeiro commented@Mac_Weber, It's different.
Suppose in the scenario that I have many display and one of them need to display the title and the other not, I need that the node save the title but the display will have option to show or not.
Comment #16
mac_weber commented@felribeiro sorry, I had a hard time to understand your needs. Maybe instead of allowing the value zero we better add a checkbox labeled
hide the link titlethat would take care of the behavior you want.I see it is a really good feature and IMHO it seems clear to end users this way.
Comment #17
mac_weber commentedUpdated issue with my proposed solution.
Comment #18
mac_weber commentedComment #20
felribeiro commentedNew implementation following @Mac_Weber proposed solution.
Comment #36
smustgrave commentedThank you for sharing your idea for improving Drupal.
We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #37
dcam commentedI'm not in favor of making this change. This feature is too much of an edge case to be included in Drupal Core. If you want to display links without titles, then create a new field formatter that makes links without titles. Then that formatter can be selected on a per-display basis as noted in #15.
Credit has been granted to those who worked on patches.