From 7debce2b3fc8aba16c568c3988e25da9ca9bd5d7 Mon Sep 17 00:00:00 2001 From: tuutti Date: Thu, 21 Mar 2024 07:25:14 +0200 Subject: [PATCH 1/3] UHF-8908: Group HELfi entity types under one link --- helfi_api_base.links.menu.yml | 6 ++++++ helfi_api_base.routing.yml | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/helfi_api_base.links.menu.yml b/helfi_api_base.links.menu.yml index 165a2134..a57c6fa8 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 d16d88d0..2bbd8014 100644 --- a/helfi_api_base.routing.yml +++ b/helfi_api_base.routing.yml @@ -6,6 +6,14 @@ helfi_api_base.integrations: requirements: _permission: 'access remote entities overview' +helfi_api_base.entity_settings: + path: '/admin/structure/helfi-integrations' + defaults: + _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage' + _title: 'HELfi: Integrations' + requirements: + _permission: 'access remote entities overview' + helfi_api_base.debug_list: path: '/admin/debug' defaults: From c245323a81ebbcbda75d38c4771c2fb76d872eed Mon Sep 17 00:00:00 2001 From: tuutti Date: Thu, 21 Mar 2024 07:27:16 +0200 Subject: [PATCH 2/3] UHF-8908: Renamed integrations tab --- helfi_api_base.routing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helfi_api_base.routing.yml b/helfi_api_base.routing.yml index 2bbd8014..3ab7777b 100644 --- a/helfi_api_base.routing.yml +++ b/helfi_api_base.routing.yml @@ -1,8 +1,8 @@ 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' From 6040b994788fec16b5258ec1112f333383303ee9 Mon Sep 17 00:00:00 2001 From: tuutti Date: Thu, 21 Mar 2024 07:28:56 +0200 Subject: [PATCH 3/3] UHF-8908: Renamed entity settings route --- helfi_api_base.routing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helfi_api_base.routing.yml b/helfi_api_base.routing.yml index 3ab7777b..cb51d2cb 100644 --- a/helfi_api_base.routing.yml +++ b/helfi_api_base.routing.yml @@ -7,10 +7,10 @@ helfi_api_base.integrations: _permission: 'access remote entities overview' helfi_api_base.entity_settings: - path: '/admin/structure/helfi-integrations' + path: '/admin/structure/helfi-entities' defaults: _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage' - _title: 'HELfi: Integrations' + _title: 'HELfi: Entity settings' requirements: _permission: 'access remote entities overview'