- πΊπΈUnited States grasmash
You're looking for https://www.drupal.org/project/link_field_tweak β
I need users to be able to create a 'button' on a node by entering a URL or link however I don't want them to select the Link text themselves. I would like all the 'buttons' to have the same Link text. I was hoping to leverage the link field to be able to validate the URL's and just set a default Link text. However you can not have a default link text without a default URL and then if I was to make the Link text disabled then you can't see the text which is going to be used. I am also using Layout builder and can't seem to see a way to set this on output?
The ability to either set the Default Link text in the form or to be able to set it when it gets output. I could not find a simple way to set the Link text for this particular field. Possibly I should be using a preprocess function or maybe editing the template for the field?
I was hoping someone could point me in the right direction to be able to accomplish this.
Closed: outdated
9.3
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
You're looking for https://www.drupal.org/project/link_field_tweak β