Commit e08a878c authored by dpi's avatar dpi

Cleaned up admin form routes.

Added primary module configure route to module info file.
parent af52cec4
......@@ -2,6 +2,7 @@ name: Courier
type: module
description: 'Provides storage for various types of messages.'
core: 8.x
configure: courier.admin.settings
dependencies:
- text
- dynamic_entity_reference
......@@ -3,8 +3,8 @@ system.admin_config_communication:
parent: system.admin_config
title: Communication
courier.config:
courier.admin.settings:
title: 'Courier settings'
parent: system.admin_config_communication
description: 'Manage Courier settings.'
route_name: courier.config
route_name: courier.admin.settings
......@@ -9,11 +9,11 @@ entity.courier_email.edit_form:
title: 'Edit'
courier.admin.settings:
route_name: courier.config
base_route: courier.config
route_name: courier.admin.settings
base_route: courier.admin.settings
title: 'Settings'
courier.admin.maintenance:
route_name: courier.admin.maintenance
base_route: courier.config
base_route: courier.admin.settings
title: 'Maintenance'
......@@ -56,7 +56,7 @@ courier.admin_config_communication:
requirements:
_permission: 'access administration pages'
courier.config:
courier.admin.settings:
path: '/admin/config/communication/courier'
defaults:
_form: '\Drupal\courier\Form\Settings'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment