Creating my own Sub-Menu / Parent in the Admin/Config menu

30/07/2018


Is it possible to create my own Parent / Sub-Menu in the Configuration tab in Administration?

Every resource I find seems to give an example of the yaml file placing a link under the Development menu, with system.admin_config_development, but I want one in (for example), system.admin_config_MYMENUNAME .

Example of current yaml file (hello_world.links.menu.yml) :

hell_world.admin:
  title: 'Hello module settings'
  description: 'example of how to make an admin settings page link'
  parent: system.admin_config_development # want this to be system.admin_config_MYCUSTOMMENU
  route_name: hello_world.content
  weight: 100

قالب وردپرس