When using the "Title" field provided by display suite, in the 3rd party settings we are able to check a "Link" checkbox to output the title wrapped within an A tag. This works great, but there is no further way to control the output of the link, since it comes from an embedded twig template within /src/Plugin/DsField/Field.php.
In almost every site we build, I want to add classes to these links, for example using Boostrap, the "stretched-link" class can be added so I can make my entire card clickable.
In the past I've achieved the same thing by using the patch to provide token support in the prefix/suffix and expert display mode with the token for the entity alias. Or I add the "Read More" display suite field into my designs, and add the link classes i want there. These are both workarounds. In the end, they don't cover all cases, and an produce extra markup.
In a recent patch, blank attributes were added to links for preprocessing. This patch connects the dots with that patch and the Field UI.
Add in link attribute support to the title field, when link is checked off.
TBD
None
Fixed
3.0
Field UI
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.