moved some menu code around for better modularisation

This commit is contained in:
Naomi 2020-11-08 18:05:24 +00:00
parent 9af1d58de8
commit 011029d3b3
2 changed files with 12 additions and 12 deletions

View File

@ -10,3 +10,15 @@ opencase_defaults.report_on_volunteers:
parent: opencase_reporting.reporting_menu parent: opencase_reporting.reporting_menu
url: internal:/opencase/reporting/volunteers url: internal:/opencase/reporting/volunteers
weight: 1 weight: 1
opencase.opencase_add_people_menu:
title: 'Add people'
description: 'Add new people'
menu_name: opencase
route_name: opencase.opencase_people_menu
weight: 1
opencase.add_people_links:
class: Drupal\opencase\Plugin\Menu\AddActorsMenuLink
deriver: Drupal\opencase\Plugin\Derivative\AddActorsMenuLink
menu_name: opencase
parent: opencase.opencase_add_people_menu

View File

@ -12,18 +12,6 @@ opencase.opencase_all_cases:
url: internal:/opencase/all-cases url: internal:/opencase/all-cases
weight: 1 weight: 1
opencase.opencase_add_people_menu:
title: 'Add people'
description: 'Add new people'
menu_name: opencase
route_name: opencase.opencase_people_menu
weight: 1
opencase.add_people_links:
class: Drupal\opencase\Plugin\Menu\AddActorsMenuLink
deriver: Drupal\opencase\Plugin\Derivative\AddActorsMenuLink
menu_name: opencase
parent: opencase.opencase_add_people_menu
opencase.opencase_admin_menu: opencase.opencase_admin_menu:
title: 'Administration' title: 'Administration'
description: 'Management and Configuration' description: 'Management and Configuration'