Skip to content

Commit

Permalink
Merge pull request #155 from City-of-Helsinki/UHF-8908
Browse files Browse the repository at this point in the history
UHF-8908: Group HELfi entity types under one link
  • Loading branch information
teroelonen authored Mar 21, 2024
2 parents 6eaf1f2 + 6040b99 commit bab62d1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions helfi_api_base.links.menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 10 additions & 2 deletions helfi_api_base.routing.yml
Original file line number Diff line number Diff line change
@@ -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'

Expand Down

0 comments on commit bab62d1

Please sign in to comment.