Skip to main content
Category:

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. 

Riadh Rahmi

Senior Web Developer PHP/Drupal & Laravel

I am a senior web developer, I have experience in planning and developing large scale dynamic web solutions especially in Drupal & Laravel.

Web Posts

Search

Page Facebook