You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the field description for the optional title on the link field is hard-coded to say "If you don't write anything here, we will use: More information"
It would be better if this was managed in config so it can be overwritten on a per site basis. That way this field can be adapted to suit the needs of the site. For instance on Lambeth the title field needs to be required due to the front-end complexity of Drupal outputting a GeneratedLink rather than a standard render array depending on whether you fill in the title or not.
The text was updated successfully, but these errors were encountered:
As long as we keep it as the default, it should be fine.
The link field is provided by config, so simply needs to be added there and the form alter hook can be removed.
May also need to remove the generated text in the templates.
If someone wants to make a Pull Request will review.
At the moment the field description for the optional title on the link field is hard-coded to say "If you don't write anything here, we will use: More information"
It would be better if this was managed in config so it can be overwritten on a per site basis. That way this field can be adapted to suit the needs of the site. For instance on Lambeth the title field needs to be required due to the front-end complexity of Drupal outputting a
GeneratedLink
rather than a standard render array depending on whether you fill in the title or not.The text was updated successfully, but these errors were encountered: