Dec 01, 2020 in Drupal 8

 

Here is how you would attach a menu-link. Add a file my_module.links.menu.yml to your module:

my_module.admin_settings_form:
  title: 'MyModule Settings'
  route_name: my_module.admin_settings_form
  description: 'Custom settings'
  parent: system.admin
  weight: 99

Make sure you clear cache. 

Want to know the route of the page you would like to send the link to? Check: Get route of a views page with drupal console