Added menu links for "add actors" menu to defaults

Because it has hard coded bundles.
Also remove some config files that were not needed any more.
This commit is contained in:
naomi 2018-07-05 16:09:57 +02:00
parent b1d5c4eddf
commit f373ac419e
5 changed files with 12 additions and 84 deletions

View File

@ -1,23 +0,0 @@
langcode: en
status: true
dependencies:
config:
- system.menu.opencase-admin
module:
- system
theme:
- bartik
id: opencase
theme: bartik
region: sidebar_first
weight: -7
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: { }

View File

@ -1,19 +0,0 @@
langcode: en
status: true
dependencies:
module:
- opencase
theme:
- bartik
id: opencasecontextualmenu_2
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: opencase_contextual_menu
settings:
id: opencase_contextual_menu
label: 'OpenCase Contextual Menu'
provider: opencase
label_display: '0'
visibility: { }

View File

@ -1,31 +0,0 @@
langcode: en
status: true
dependencies:
config:
- system.menu.openc
module:
- system
- user
theme:
- bartik
id: opencaseglobal
theme: bartik
region: sidebar_first
weight: -6
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'

View File

@ -1,11 +0,0 @@
langcode: en
status: true
dependencies: { }
id: contact_opencase
label: 'Contact the OpenCase Developers'
recipients:
- naomirosenberguk@gmail.com
reply: ''
weight: 0
message: 'Thank you for your message. The OpenCase team will get back to you ASAP.'
redirect: ''

View File

@ -0,0 +1,12 @@
opencase.add_volunteer:
title: 'Add a new volunteer'
description: 'Create a new volunteer record'
menu_name: opencase-add-actors
url: internal:/opencase/oc_actor/add/volunteer
weight: 0
opencase.add_client:
title: 'Add a new client'
description: 'Create a new client record'
menu_name: opencase-add-actors
url: internal:/opencase/oc_actor/add/client
weight: 1