I've seen numerous questions on how to address this, but I've not quite found the answer. I'd like to add an additional link to the
main menu. I've attempted this in
my_module.links.menu.yml and run
drush cr. This doesn't seem to limited impact.
This item will show up under the Tools menu, but not main.
my_module.list: title: 'List All Computers' description: 'Show all known computers' route_name: my_module.listAllComputers parent: main
Is there something wrong with the above? Is PHP a better way to add a link to the main menu? If so, where? Do I use a Drupal 8 hook?