Problem/Motivation
We don't have any field formatter
Proposed resolution
Add a menu_link field formatter (link or plain text) and a menu_link_breadcrumb field formatter that shows a breadcrumb trail with all the parents of the menu link.
Remaining tasks
Tests
Review
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2880938-5.patch | 15.19 KB | stefan.r |
| #5 | interdiff.txt | 6.43 KB | stefan.r |
| #3 | 2880938-2.patch | 9.71 KB | stefan.r |
Comments
Comment #2
stefan.r commentedWe need to enable 8.x for issues :)
Comment #3
stefan.r commentedComment #4
dawehnerI just added the 8.x-1.x release, so we can mark issues with it.
A general note: We add a couple of configuration bits, so we should also add the corresponding config dependencies.
Could we use the
MenuLinkTreehere to save some lines of code?Nice!
I love that these objects are reuseable.
Comment #5
stefan.r commentedComment #7
dawehnerThank you for the contribution. Committed and pushed to 8.x-1.x