When you have the Admin Toolbar module installed, you'll get useful drop-down menu-links for several entity types, allowing you to navigate quickly to say "Manage fields" for a particular content type.

For feed types there is just a single menu link titled 'Feed types'. You cannot go deeper in the menu structure, while it would for example be useful to be able to go straight to the mapping page for a particular feed type.

It took me a while to figure out how these links appear in the toolbar. It appears that most of them are generated by the 'Admin Toolbar Extra Tools' module (part of the Admin Toolbar project) in admin_toolbar_tools_menu_links_discovered_alter(). At least the 'Mapping' link can be added using that same method. To let the feed types appear in the menu, the route name for the feed type listing needs to follow a certain pattern, namely entity.$entity_type.collection. Right now, Feeds uses the route name 'feeds.overview_types'.

Patch will follow.

Comments

MegaChriz created an issue. See original summary.

megachriz’s picture

Status: Active » Needs review
StatusFileSize
new4.24 KB
megachriz’s picture

Minor coding standard issue.

riddhi.addweb’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new63.81 KB
new84.91 KB

@MegaChriz, Thanks for the patch, your patch is working fine. I checked it using simplytest.me & attached the screenshot for the same.

  • MegaChriz committed cbcceec on 8.x-3.x
    Issue #2968559 by MegaChriz: Added admin links for admin toolbar.
    
megachriz’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting back, @riddhi.addweb.

Committed #3.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.