告诉我如何在配置页面上使用自定义模块(和yml文件)创建自定义面板,并在其中放置任意链接?
答案 0 :(得分:0)
做到了:
# Register a tab on the configuration page
name_shower.admin_config_panel:
route_name: name_shower.admin_config_panel
title: 'My Custom Panel'
parent: system.admin_config
description: 'It is my custom panel'
weight: -5
url: internal: #
# Add link
name_shower.admin_index:
title: 'Name shower settings'
description: 'Settigns for module "Name shower"'
parent: name_shower.admin_config_panel
route_name: name_shower.admin_index
weight: 0
url: internal:/admin/config/name_shower