Add extra "Add content"-link to toolbar menu in drupal 8

This little tip adds just that extra good feeling for your webmasters. And a click less to the "Add content" page. 

First, create a your_module.links.menu.yml file and add the following:

your_module.admin:
  title: 'Add content'
  parent: system.admin_content
  url: internal:/node/add

 

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!