I am trying to add programmaticaly a custom,parent
panel to the admin/config
menu, so i can add other links to it, config pages of other modules etc. How can that be done? I am able to add custom module, under admin/config/development/my_module
, for example, but i would like to group all my modules under same, custom parent panel
.
如何使用自定义面板Drupal 8扩展管理员配置菜单
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- dongmiao260399 2018-11-21 10:01关注
Check in contrib modules for examples. Example from message module - message.links.menu.yml
message.overview_templates: title: 'Message templates' parent: system.admin_structure description: 'Manage message templates.' route_name: message.overview_templates message.main_settings: title: 'Message' route_name: message.main_settings parent: system.admin_config description: 'Tools that enhance the user interface.' weight: -10 message.settings: title: 'Message' description: 'Message settings.' parent: 'message.main_settings' route_name: message.settings
Also, check the official documentation: https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link
解决 无用评论 打赏 举报
悬赏问题
- ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
- ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
- ¥15 如何在炒股软件中,爬到我想看的日k线
- ¥15 seatunnel 怎么配置Elasticsearch
- ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
- ¥15 (标签-MATLAB|关键词-多址)
- ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
- ¥500 52810做蓝牙接受端
- ¥15 基于PLC的三轴机械手程序
- ¥15 多址通信方式的抗噪声性能和系统容量对比