Add a link to admin menu bar Drupal 8

, ,

Here is the steps to adding admin menu bar link using Drupal 8 custom modules

Step 1:

In your custom module root folder create a file name with, the file must like this

admin_dashboard is module name

Step 2:

Add the below code to the created page

  title: 'Dashboard'
  description: 'admin dashboard'
  parent: system.admin
  url: internal:/dashboard
  weight: -300

In url: internal:/dashboard section internal:/ mean your drupal site url

Clear cache and check the link

Related Post

Latest Post

Recent Posts Widget

Make sure to never miss a thing...

Get the latest news from the creative industry along with other creative goodies, conveniently delivered to social media.