现在,在你的模块的根目录先创建一个新文件,命名为hello_world.links.menu.yml 并且添加下面的的代码
hello_world.admin: title: 'Hello module settings' description: 'example of how to make an admin settings page link' parent: system.admin_config_development route_name: hello_world.content weight: 100
请注意,第一行保留一个指定的空间,就像routing 文件中的例子一样,同时要注意第五行的route name。这将在你的站点管理界面下的配置tab添加一个链接。
注明:本文为星速云原创版权所有,禁止转载,一经发现将追究版权责任!