As the media module is in core since Drupal 8.4 we should add a link to the Content section.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | admin_toolbar-add_media_link-2924266-4-d8.patch | 1.1 KB | sunlix |
| #8 | admin_toolbar-add_media_link.patch | 1.22 KB | sunlix |
| #7 | admin_toolbar.add-media-menu.patch | 1.36 KB | sunlix |
| #3 | admin_toolbar-add_media_link-2924266-3-d8.patch | 628 bytes | romainj |
| #2 | admin_toolbar-add_media_link-2924266-2-d8.patch | 632 bytes | romainj |
Comments
Comment #2
romainj commentedComment #3
romainj commentedComment #4
adriancidWe need this now or we can wait for the Media module full integration in Core? I think that we can wait, maybe something can change in the module.
Comment #5
adriancidThis is not solved with #2731369: Local tasks don't show in the toolbar ?
Comment #6
romainj commentedAs the media module provides a task link we could add this menu link also.
Comment #7
sunlixHey romainj,
I've added a patch to get the link to
view.media.media_page_listand a sub menu to 'add media' like the 'add content menu'would love to see this in future release. :)
Comment #8
sunlixComment #9
sunlixHi,
as of admin_toolbar 1.22 the media link is now present under "content".
I don't know which code part is leading to this, but I think is base question to this issue seems to be resolved.
What' is about a "Add media" menu under "content" like the "Add content" menu?
Comment #10
romainj commentedThe Media menu link is added but I do not know how :)
I think that we should add the "Add media" link under the "Media" link so that the "Content" section is lighter.
Comment #11
romainj commentedOK the media menu link is added because there is a tab link from which we generate it.
Comment #12
samerali commentedI used patch from #9 and it works good... see https://www.screencast.com/t/aMeEXVof
Comment #13
adriancidHi @romainj as we have now #2937982: Auto-generation of menu links conflicts with other modules do you think that we must patch now the module with #9?
Comment #14
romainj commentedYes. I think that they are useful links.
Comment #16
adriancid