Add a configuration option for setting default help text on uri field

Created on 6 April 2023, over 1 year ago
Updated 3 July 2023, over 1 year ago

Thanks for creating this module! I've had to write custom code to do this before.

Problem/Motivation

I usually want to simplify the help text for the url field sitewide. It would be nice to be able to set a default for this in the Link Field Tweak module config, rather than having to find all the link fields and set them individually.

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇨🇦Canada megan_m

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @megan_m
  • Status changed to Postponed: needs info over 1 year ago
  • 🇩🇪Germany stefan.korn Jossgrund

    Do you want to change the Drupal default help text (description)?

    This one (for link field allowing internal and external links):

    Start typing the title of a piece of content to select it. You can also enter an internal path such as /node/add or an external URL such as http://example.com. Enter to link to the front page. Enter to display link text only. Enter to display keyboard-accessible link text only.

    This can be done in several ways already, for example by String overrides via settings.php

    There are some modules for that too I suppose, String overrides for example.

  • 🇨🇦Canada megan_m

    Thanks for the fast response. I have used a custom module in the past to do this, but I don't really like any of those solutions for doing this :|

    If I'm using this module to adjust the help text on a per-field basis, it might be nice to be able to set the defaults on the config form. And also pre-fill the form on the field widget settings with that default text :) Or even pre-fill the form on the widget settings with the default help text, that would be good.

  • Status changed to Closed: won't fix over 1 year ago
  • 🇩🇪Germany stefan.korn Jossgrund

    If you really want and need this feature please provide a patch and I will check.

    I am not really convinced about the global option to override the help text. Drupal uses different help texts depending on internal/external link configuration. If only one text is used for all, this might not be consistent to users and if multiple options are provided this might get confusing.

    And as explained before one can already override these help texts globally.

    I am closing this issue for now.

Production build 0.71.5 2024