linked actor field config added

This commit is contained in:
naomi 2018-07-19 19:13:08 +02:00
parent ebd755d86c
commit 679f40c16d
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,28 @@
langcode: en
status: true
dependencies:
config:
- field.storage.user.field_linked_opencase_actor
- opencase_entities.oc_actor_type.volunteer
module:
- user
id: user.user.field_linked_opencase_actor
field_name: field_linked_opencase_actor
entity_type: user
bundle: user
label: 'Linked OpenCase actor'
description: 'If this user is also an actor (e.g. a volunteer or staff member) in OpenCase, link them here. This will ensure that they have access to the correct cases and that the correct cases are shown as "theirs".'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:oc_actor'
handler_settings:
target_bundles:
volunteer: volunteer
sort:
field: _none
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- opencase_entities
- user
id: user.field_linked_opencase_actor
field_name: field_linked_opencase_actor
entity_type: user
type: entity_reference
settings:
target_type: oc_actor
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false