How to add a menu item to the drupal toolbar
Example How to add a menu item to the drupal toolbar:
just Add a file Module.links.menu.yml to your module:
Module.admin_settings_form:
title: 'Custom Link'
route_name: custom.admin_settings_form
description: 'Custom Link'
parent: system.admin
weight: 99
Don't forget to clear cache.