Timeline for How to extend link field type in D8?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 15, 2016 at 9:30 | comment | added | artfulrobot | Check out my Segue - classy links module (sandbox) that does as you suggest :-) | |
Mar 15, 2016 at 9:29 | vote | accept | artfulrobot | ||
Mar 9, 2016 at 16:32 | comment | added | Berdir | Not sure I understand your point. the link field can store any classes. It's just a question of how you expose it in the UI, you could make a textfield so anything is allowed or you could make a select/checkboxes to only allow specific classes. It was explicitly decided to offer the storage but not provide any advanced widgets and leave that to contrib/custom modules. | |
Mar 9, 2016 at 16:09 | comment | added | mradcliffe | I'm not sure if this answers the use case of users saving arbitrary class/style data with the link content when it's created. This would be for a site builder to configure all link field content for a specific link field to have that style/class data. | |
Mar 9, 2016 at 13:53 | history | answered | Berdir | CC BY-SA 3.0 |