Added menu link config to opencase module.
For opencase-admin and openc (OpenCase Global) menus.
This commit is contained in:
parent
73e7ff2656
commit
6c6c6d5c92
23
config/install/block.block.opencase.yml
Normal file
23
config/install/block.block.opencase.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- system.menu.opencase-admin
|
||||||
|
module:
|
||||||
|
- system
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: opencase
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_first
|
||||||
|
weight: -8
|
||||||
|
provider: null
|
||||||
|
plugin: 'system_menu_block:opencase-admin'
|
||||||
|
settings:
|
||||||
|
id: 'system_menu_block:opencase-admin'
|
||||||
|
label: 'OpenCase Admin'
|
||||||
|
provider: system
|
||||||
|
label_display: visible
|
||||||
|
level: 1
|
||||||
|
depth: 0
|
||||||
|
visibility: { }
|
19
config/install/block.block.opencasecontextualmenu.yml
Normal file
19
config/install/block.block.opencasecontextualmenu.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: opencasecontextualmenu
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_second
|
||||||
|
weight: -8
|
||||||
|
provider: null
|
||||||
|
plugin: opencase_contextual_menu
|
||||||
|
settings:
|
||||||
|
id: opencase_contextual_menu
|
||||||
|
label: 'OpenCase Contextual Menu'
|
||||||
|
provider: opencase
|
||||||
|
label_display: visible
|
||||||
|
visibility: { }
|
31
config/install/block.block.opencaseglobal.yml
Normal file
31
config/install/block.block.opencaseglobal.yml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- system.menu.openc
|
||||||
|
module:
|
||||||
|
- system
|
||||||
|
- user
|
||||||
|
theme:
|
||||||
|
- bartik
|
||||||
|
id: opencaseglobal
|
||||||
|
theme: bartik
|
||||||
|
region: sidebar_first
|
||||||
|
weight: -7
|
||||||
|
provider: null
|
||||||
|
plugin: 'system_menu_block:openc'
|
||||||
|
settings:
|
||||||
|
id: 'system_menu_block:openc'
|
||||||
|
label: 'OpenCase Global'
|
||||||
|
provider: system
|
||||||
|
label_display: '0'
|
||||||
|
level: 1
|
||||||
|
depth: 0
|
||||||
|
visibility:
|
||||||
|
user_role:
|
||||||
|
id: user_role
|
||||||
|
roles:
|
||||||
|
authenticated: authenticated
|
||||||
|
negate: false
|
||||||
|
context_mapping:
|
||||||
|
user: '@user.current_user_context:current_user'
|
7
config/install/system.menu.openc.yml
Normal file
7
config/install/system.menu.openc.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: openc
|
||||||
|
label: 'OpenCase Global'
|
||||||
|
description: ''
|
||||||
|
locked: false
|
7
config/install/system.menu.opencase-admin.yml
Normal file
7
config/install/system.menu.opencase-admin.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: opencase-admin
|
||||||
|
label: 'OpenCase Admin'
|
||||||
|
description: 'Administer OpenCase '
|
||||||
|
locked: false
|
36
opencase.links.menu.yml
Normal file
36
opencase.links.menu.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
opencase.manage_user_logins:
|
||||||
|
title: 'Manager user logins'
|
||||||
|
description: 'Manage who can access the system'
|
||||||
|
menu_name: opencase-admin
|
||||||
|
url: internal:/admin/people
|
||||||
|
weight: 0
|
||||||
|
opencase.manage_actor_types:
|
||||||
|
title: 'Manage actor types'
|
||||||
|
description: 'Configure types of actors and their fields'
|
||||||
|
menu_name: opencase-admin
|
||||||
|
url: internal:/admin/opencase/oc_actor_type
|
||||||
|
weight: 1
|
||||||
|
opencase.manage_case_types:
|
||||||
|
title: 'Manage case types'
|
||||||
|
description: 'Configure types of cases and their fields'
|
||||||
|
menu_name: opencase-admin
|
||||||
|
url: internal:/admin/opencase/oc_case_type
|
||||||
|
weight: 2
|
||||||
|
opencase.manage_activity_types:
|
||||||
|
title: 'Manage activity types'
|
||||||
|
description: 'Configure types of activities and their fields'
|
||||||
|
menu_name: opencase-admin
|
||||||
|
url: internal:/admin/opencase/oc_activity_type
|
||||||
|
weight: 3
|
||||||
|
opencase.view_documentation:
|
||||||
|
title: 'Read documentation'
|
||||||
|
description: 'Find out about OpenCase and how it works'
|
||||||
|
menu_name: openc
|
||||||
|
url: https://hoegrammer.gitbooks.io/opencase/content/
|
||||||
|
weight: 0
|
||||||
|
opencase.send_feedback:
|
||||||
|
title: 'Send feedback'
|
||||||
|
description: 'Contact the OpenCase developers'
|
||||||
|
menu_name: openc
|
||||||
|
url: internal:/contact
|
||||||
|
weight: 1
|
Reference in New Issue
Block a user