diff --git a/helfi_api_base.links.menu.yml b/helfi_api_base.links.menu.yml index 165a213..a57c6fa 100644 --- a/helfi_api_base.links.menu.yml +++ b/helfi_api_base.links.menu.yml @@ -4,6 +4,12 @@ helfi_api_base.integrations: route_name: helfi_api_base.integrations parent: system.admin_content +helfi_api_base.entity_settings: + title: 'HELfi: Entity settings' + description: List of HELfi entity settings + route_name: helfi_api_base.entity_settings + parent: system.admin_structure + helfi_api_base.debug_settings: title: Debug description: Shows gathered debug data diff --git a/helfi_api_base.routing.yml b/helfi_api_base.routing.yml index d16d88d..cb51d2c 100644 --- a/helfi_api_base.routing.yml +++ b/helfi_api_base.routing.yml @@ -1,8 +1,16 @@ helfi_api_base.integrations: - path: '/admin/content/integrations' + path: '/admin/content/helfi-integrations' defaults: _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage' - _title: 'Integrations' + _title: 'HELfi: Integrations' + requirements: + _permission: 'access remote entities overview' + +helfi_api_base.entity_settings: + path: '/admin/structure/helfi-entities' + defaults: + _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage' + _title: 'HELfi: Entity settings' requirements: _permission: 'access remote entities overview'