Merge branch 'master' of ssh://git.autonomic.zone:2222/autonomic-cooperative/opencase

This commit is contained in:
naomi 2022-05-13 17:46:47 +01:00
commit 82a44d3448
85 changed files with 2897 additions and 898 deletions

View File

@ -0,0 +1,25 @@
uuid: 036ff73a-049d-4979-abf0-95b1a9d1b830
langcode: en
status: true
dependencies:
module:
- opencase
- route_condition
theme:
- bartik
id: addactivity
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: add_activity
settings:
id: add_activity
label: 'Add Activity'
label_display: visible
provider: opencase
visibility:
route:
id: route
negate: false
routes: entity.oc_actor.canonical

View File

@ -1,22 +0,0 @@
uuid: 0420cf43-7f91-4c16-80aa-f76d56641c9f
langcode: en
status: true
dependencies:
module:
- system
theme:
- bartik
_core:
default_config_hash: y0bXRvKYQQKkf_RVxA3aOPGpIfKKsDOzzrWYCgjxJ9Y
id: bartik_breadcrumbs
theme: bartik
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }

View File

@ -1,29 +0,0 @@
uuid: 22782d1b-4b5d-422e-9609-96e63ffd39da
langcode: en
status: true
dependencies:
config:
- views.view.cases
module:
- route_condition
- views
theme:
- bartik
id: views_block__cases_block_1
theme: bartik
region: content
weight: 0
provider: null
plugin: 'views_block:cases-block_1'
settings:
id: 'views_block:cases-block_1'
label: ''
label_display: visible
provider: views
views_label: ''
items_per_page: none
visibility:
route:
id: route
negate: false
routes: entity.oc_actor.canonical

View File

@ -7,4 +7,4 @@ _core:
id: short id: short
label: 'Default short date' label: 'Default short date'
locked: false locked: false
pattern: 'd/m/Y - H:i' pattern: 'd M Y'

View File

@ -4,14 +4,22 @@ status: true
dependencies: dependencies:
config: config:
- opencase_entities.oc_activity_type.application - opencase_entities.oc_activity_type.application
module:
- datetime
id: oc_activity.application.default id: oc_activity.application.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: application bundle: application
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description: description:
type: string_textarea type: string_textarea
weight: 4 weight: 5
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -19,7 +27,7 @@ content:
third_party_settings: { } third_party_settings: { }
name: name:
type: string_textfield type: string_textfield
weight: 2 weight: 3
region: content region: content
settings: settings:
size: 60 size: 60
@ -27,7 +35,7 @@ content:
third_party_settings: { } third_party_settings: { }
oc_provider: oc_provider:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 1 weight: 2
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
@ -37,7 +45,7 @@ content:
third_party_settings: { } third_party_settings: { }
oc_target: oc_target:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 0 weight: 1
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
@ -45,25 +53,14 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { }
time_taken: time_taken:
type: number type: number
weight: 3 weight: 4
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: hidden:
activity_date_time: true revision_log: true
status: true status: true
user_id: true

View File

@ -4,41 +4,63 @@ status: true
dependencies: dependencies:
config: config:
- opencase_entities.oc_activity_type.case_note - opencase_entities.oc_activity_type.case_note
module:
- datetime
id: oc_activity.case_note.default id: oc_activity.case_note.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: case_note bundle: case_note
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 5
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name: name:
type: string_textfield type: string_textfield
weight: -3 weight: 4
region: content region: content
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log: oc_provider:
type: hide_revision_field_log_widget type: entity_reference_autocomplete
weight: 80 weight: 2
region: content region: content
settings: settings:
rows: 5 match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_target:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: '' placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { } third_party_settings: { }
time_taken: time_taken:
type: number type: number
weight: -3 weight: 3
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: hidden:
activity_date_time: true revision_log: true
description: true
oc_provider: true
oc_target: true
status: true status: true
user_id: true

View File

@ -6,54 +6,70 @@ dependencies:
- field.field.oc_activity.destitution_funds_provided.field_amount - field.field.oc_activity.destitution_funds_provided.field_amount
- field.field.oc_activity.destitution_funds_provided.field_funds_for - field.field.oc_activity.destitution_funds_provided.field_funds_for
- opencase_entities.oc_activity_type.destitution_funds_provided - opencase_entities.oc_activity_type.destitution_funds_provided
module:
- datetime
id: oc_activity.destitution_funds_provided.default id: oc_activity.destitution_funds_provided.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: destitution_funds_provided bundle: destitution_funds_provided
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 6
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_amount: field_amount:
type: number type: number
weight: 28 weight: 5
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_funds_for: field_funds_for:
type: options_select type: options_select
weight: 27 weight: 4
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
name: name:
type: string_textfield type: string_textfield
weight: -3 weight: 3
region: content region: content
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log: oc_provider:
type: hide_revision_field_log_widget type: entity_reference_autocomplete
weight: 80 weight: 2
region: content region: content
settings: settings:
rows: 5 match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: '' placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { } third_party_settings: { }
time_taken: oc_target:
type: number type: entity_reference_autocomplete
weight: -3 weight: 1
region: content region: content
settings: settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: hidden:
activity_date_time: true revision_log: true
description: true
oc_provider: true
oc_target: true
status: true status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,60 @@
uuid: c9168804-754e-4c9c-872e-34d340c0db2a
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.email
module:
- datetime
id: oc_activity.email.default
targetEntityType: oc_activity
bundle: email
mode: default
content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_target:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
revision_log: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,60 @@
uuid: 86825dc4-21cd-4670-80f5-fd3fc6c67e25
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.interview
module:
- datetime
id: oc_activity.interview.default
targetEntityType: oc_activity
bundle: interview
mode: default
content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_target:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
revision_log: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,60 @@
uuid: a86206a2-d677-4276-8450-39941361eee1
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.lete
module:
- datetime
id: oc_activity.lete.default
targetEntityType: oc_activity
bundle: lete
mode: default
content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_target:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
revision_log: true
status: true
time_taken: true
user_id: true

View File

@ -6,7 +6,6 @@ dependencies:
- opencase_entities.oc_activity_type.phone_call - opencase_entities.oc_activity_type.phone_call
module: module:
- datetime - datetime
- hide_revision_field
id: oc_activity.phone_call.default id: oc_activity.phone_call.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: phone_call bundle: phone_call
@ -18,9 +17,17 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
description:
type: string_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name: name:
type: string_textfield type: string_textfield
weight: 4 weight: 3
region: content region: content
settings: settings:
size: 60 size: 60
@ -46,25 +53,8 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 5
region: content
settings:
rows: 5
placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { }
time_taken:
type: number
weight: 3
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden: hidden:
description: true revision_log: true
status: true status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,60 @@
uuid: 0751919f-0018-47c0-b5fd-074d40ccc2df
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.research
module:
- datetime
id: oc_activity.research.default
targetEntityType: oc_activity
bundle: research
mode: default
content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_target:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
revision_log: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,60 @@
uuid: 43b06d48-94ac-4f74-9adc-f40bb63d4f4e
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.supervision
module:
- datetime
id: oc_activity.supervision.default
targetEntityType: oc_activity
bundle: supervision
mode: default
content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 4
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_target:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
revision_log: true
status: true
time_taken: true
user_id: true

View File

@ -1,62 +0,0 @@
uuid: 13b48008-63b7-4485-babe-9b72256f976a
langcode: en
status: true
dependencies:
config:
- field.field.oc_activity.volunteer_training_session.field_date_attended
- field.field.oc_activity.volunteer_training_session.field_type_of_session
- opencase_entities.oc_activity_type.volunteer_training_session
module:
- datetime
id: oc_activity.volunteer_training_session.default
targetEntityType: oc_activity
bundle: volunteer_training_session
mode: default
content:
field_date_attended:
type: datetime_default
weight: 27
region: content
settings: { }
third_party_settings: { }
field_type_of_session:
type: string_textfield
weight: 26
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: -3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { }
time_taken:
type: number
weight: -3
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden:
activity_date_time: true
description: true
oc_provider: true
oc_target: true
status: true

View File

@ -0,0 +1,79 @@
uuid: 56d178c9-a69d-42a7-8235-6ecce238a904
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.staff_member
id: oc_actor.staff_member.default
targetEntityType: oc_actor
bundle: staff_member
mode: default
content:
email:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
first_name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
last_name:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
middle_names:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
phone:
type: string_textfield
weight: 4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
phone2:
type: string_textfield
weight: 5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
post_code:
type: string_textfield
weight: 7
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
postal_address:
type: string_textarea
weight: 6
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
hidden:
revision_log: true
status: true
user_id: true

View File

@ -10,8 +10,6 @@ dependencies:
- field.field.oc_actor.volunteer.field_osic_level - field.field.oc_actor.volunteer.field_osic_level
- field.field.oc_actor.volunteer.field_skills - field.field.oc_actor.volunteer.field_skills
- opencase_entities.oc_actor_type.volunteer - opencase_entities.oc_actor_type.volunteer
module:
- hide_revision_field
id: oc_actor.volunteer.default id: oc_actor.volunteer.default
targetEntityType: oc_actor targetEntityType: oc_actor
bundle: volunteer bundle: volunteer
@ -19,15 +17,7 @@ mode: default
content: content:
email: email:
type: string_textfield type: string_textfield
weight: -5 weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_ethnic_o:
type: string_textfield
weight: 81
region: content region: content
settings: settings:
size: 60 size: 60
@ -35,7 +25,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_general_noes: field_general_noes:
type: string_textarea type: string_textarea
weight: 5 weight: 10
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -43,25 +33,19 @@ content:
third_party_settings: { } third_party_settings: { }
field_languages_spoken: field_languages_spoken:
type: options_select type: options_select
weight: 2 weight: 7
region: content
settings: { }
third_party_settings: { }
field_nationalities:
type: options_select
weight: 1
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_osic_level: field_osic_level:
type: options_select type: options_select
weight: 3 weight: 8
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_skills: field_skills:
type: string_textarea type: string_textarea
weight: 4 weight: 9
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -69,7 +53,7 @@ content:
third_party_settings: { } third_party_settings: { }
first_name: first_name:
type: string_textfield type: string_textfield
weight: -100 weight: 0
region: content region: content
settings: settings:
size: 60 size: 60
@ -77,15 +61,7 @@ content:
third_party_settings: { } third_party_settings: { }
last_name: last_name:
type: string_textfield type: string_textfield
weight: -98 weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
middle_names:
type: string_textfield
weight: -99
region: content region: content
settings: settings:
size: 60 size: 60
@ -101,7 +77,7 @@ content:
third_party_settings: { } third_party_settings: { }
phone: phone:
type: string_textfield type: string_textfield
weight: -4 weight: 3
region: content region: content
settings: settings:
size: 60 size: 60
@ -109,7 +85,7 @@ content:
third_party_settings: { } third_party_settings: { }
phone2: phone2:
type: string_textfield type: string_textfield
weight: -3 weight: 4
region: content region: content
settings: settings:
size: 60 size: 60
@ -117,7 +93,7 @@ content:
third_party_settings: { } third_party_settings: { }
post_code: post_code:
type: string_textfield type: string_textfield
weight: -1 weight: 6
region: content region: content
settings: settings:
size: 60 size: 60
@ -125,34 +101,17 @@ content:
third_party_settings: { } third_party_settings: { }
postal_address: postal_address:
type: string_textarea type: string_textarea
weight: -2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { }
user_id:
type: entity_reference_autocomplete
weight: 5 weight: 5
region: content region: content
settings: settings:
match_operator: CONTAINS rows: 5
match_limit: 10
size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
hidden: hidden:
field_ethnic_o: true
field_nationalities: true
middle_names: true
revision_log: true
status: true status: true
user_id: true
user_login: true user_login: true

View File

@ -3,12 +3,25 @@ langcode: en
status: true status: true
dependencies: dependencies:
config: config:
- field.field.oc_case_provision.caseworker.field_test
- opencase_cases.oc_case_provision_type.caseworker - opencase_cases.oc_case_provision_type.caseworker
module:
- hide_revision_field
id: oc_case_provision.caseworker.default id: oc_case_provision.caseworker.default
targetEntityType: oc_case_provision targetEntityType: oc_case_provision
bundle: caseworker bundle: caseworker
mode: default mode: default
content: content:
field_test:
type: entity_reference_autocomplete
weight: 81
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_case: oc_case:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 0 weight: 0

View File

@ -0,0 +1,57 @@
uuid: 9282eb8d-96fa-4c3a-a0ea-abbdc763efa0
langcode: en
status: true
dependencies:
module:
- opencase_entities
id: oc_equal_opps.oc_equal_opps.default
targetEntityType: oc_equal_opps
bundle: oc_equal_opps
mode: default
content:
access_needs:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
age:
type: options_select
weight: 1
region: content
settings: { }
third_party_settings: { }
gender:
type: options_select
weight: 3
region: content
settings: { }
third_party_settings: { }
oc_actor:
type: entity_reference_autocomplete
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
race_ethnicity:
type: options_select
weight: 4
region: content
settings: { }
third_party_settings: { }
sexuality:
type: string_textfield
weight: 5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
name: true

View File

@ -1,34 +0,0 @@
uuid: af8b76e1-d9c9-4e4b-8a00-0831b7822170
langcode: en
status: true
dependencies:
config:
- field.field.oc_event.piss_up.field_test
- opencase_entities.oc_event_type.piss_up
module:
- datetime
id: oc_event.piss_up.default
targetEntityType: oc_event
bundle: piss_up
mode: default
content:
field_test:
type: entity_reference_autocomplete
weight: 51
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
status: true

View File

@ -0,0 +1,48 @@
uuid: b512b25f-0fab-4582-88ee-ce7184c6b6c6
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_event_type.volunteer_training_session
module:
- datetime
id: oc_event.volunteer_training_session.default
targetEntityType: oc_event
bundle: volunteer_training_session
mode: default
content:
activity_date_time:
type: datetime_default
weight: 1
region: content
settings: { }
third_party_settings: { }
attendees:
type: entity_reference_autocomplete
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
description:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
status: true
user_id: true

View File

@ -0,0 +1,65 @@
uuid: ac6da2f0-4de2-4e8d-baf6-f7229b42616f
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_organisation_type.partner_organisation
module:
- file
id: oc_organisation.partner_organisation.default
targetEntityType: oc_organisation
bundle: partner_organisation
mode: default
content:
contact_name:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
email:
type: string_textfield
weight: 4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
notes:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
website:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
billing_contact_name: true
billing_email: true
billing_phone: true
billing_post_code: true
billing_postal_address: true
contact_role: true
phone: true
post_code: true
postal_address: true
revision_log: true
status: true

View File

@ -17,24 +17,41 @@ bundle: user
mode: default mode: default
content: content:
account: account:
weight: -10
region: content
contact:
weight: 5
region: content
language:
weight: 0 weight: 0
region: content region: content
timezone: settings: { }
weight: 6 third_party_settings: { }
contact:
weight: 4
region: content region: content
settings: { }
third_party_settings: { }
field_linked_opencase_actor:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
language:
weight: 3
region: content
settings: { }
third_party_settings: { }
timezone:
weight: 5
region: content
settings: { }
third_party_settings: { }
user_picture: user_picture:
type: image_image type: image_image
weight: -1 weight: 2
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
preview_image_style: thumbnail preview_image_style: thumbnail
third_party_settings: { } third_party_settings: { }
hidden: hidden: { }
field_linked_opencase_actor: true

View File

@ -5,19 +5,35 @@ dependencies:
config: config:
- opencase_entities.oc_activity_type.application - opencase_entities.oc_activity_type.application
module: module:
- user - datetime
id: oc_activity.application.default id: oc_activity.application.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: application bundle: application
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 5
region: content
name: name:
type: string type: string
label: hidden label: hidden
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: 3 weight: 4
region: content region: content
oc_provider: oc_provider:
type: entity_reference_label type: entity_reference_label
@ -25,7 +41,7 @@ content:
settings: settings:
link: true link: true
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 2
region: content region: content
oc_target: oc_target:
type: entity_reference_label type: entity_reference_label
@ -33,7 +49,7 @@ content:
settings: settings:
link: true link: true
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 1
region: content region: content
time_taken: time_taken:
type: number_decimal type: number_decimal
@ -44,16 +60,9 @@ content:
scale: 2 scale: 2
prefix_suffix: true prefix_suffix: true
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 3
region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content region: content
hidden: hidden:
activity_date_time: true
description: true
search_api_excerpt: true search_api_excerpt: true
status: true
user_id: true

View File

@ -5,19 +5,51 @@ dependencies:
config: config:
- opencase_entities.oc_activity_type.case_note - opencase_entities.oc_activity_type.case_note
module: module:
- user - datetime
id: oc_activity.case_note.default id: oc_activity.case_note.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: case_note bundle: case_note
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 5
region: content
name: name:
type: string type: string
label: hidden label: hidden
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -3 weight: 4
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 1
region: content region: content
time_taken: time_taken:
type: number_decimal type: number_decimal
@ -28,18 +60,9 @@ content:
scale: 2 scale: 2
prefix_suffix: true prefix_suffix: true
third_party_settings: { } third_party_settings: { }
weight: -3 weight: 3
region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 0
region: content region: content
hidden: hidden:
activity_date_time: true
description: true
oc_provider: true
oc_target: true
search_api_excerpt: true search_api_excerpt: true
status: true
user_id: true

View File

@ -7,13 +7,29 @@ dependencies:
- field.field.oc_activity.destitution_funds_provided.field_funds_for - field.field.oc_activity.destitution_funds_provided.field_funds_for
- opencase_entities.oc_activity_type.destitution_funds_provided - opencase_entities.oc_activity_type.destitution_funds_provided
module: module:
- datetime
- options - options
- user
id: oc_activity.destitution_funds_provided.default id: oc_activity.destitution_funds_provided.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: destitution_funds_provided bundle: destitution_funds_provided
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 6
region: content
field_amount: field_amount:
type: number_decimal type: number_decimal
label: above label: above
@ -23,14 +39,14 @@ content:
scale: 2 scale: 2
prefix_suffix: true prefix_suffix: true
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 5
region: content region: content
field_funds_for: field_funds_for:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 4
region: content region: content
name: name:
type: string type: string
@ -38,29 +54,26 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -3
region: content
time_taken:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: -3
region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 3 weight: 3
region: content region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 1
region: content
hidden: hidden:
activity_date_time: true
description: true
oc_provider: true
oc_target: true
search_api_excerpt: true search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,58 @@
uuid: bcd68faf-74c4-457e-9fc3-6e2fb7a25c97
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.email
module:
- datetime
id: oc_activity.email.default
targetEntityType: oc_activity
bundle: email
mode: default
content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,58 @@
uuid: a696fdb4-5317-4bfa-ac92-c15b09c3a7d2
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.interview
module:
- datetime
id: oc_activity.interview.default
targetEntityType: oc_activity
bundle: interview
mode: default
content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,58 @@
uuid: 46f32ceb-da51-40ce-adba-1f3e4bd206ec
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.lete
module:
- datetime
id: oc_activity.lete.default
targetEntityType: oc_activity
bundle: lete
mode: default
content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -6,7 +6,6 @@ dependencies:
- opencase_entities.oc_activity_type.phone_call - opencase_entities.oc_activity_type.phone_call
module: module:
- datetime - datetime
- user
id: oc_activity.phone_call.default id: oc_activity.phone_call.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: phone_call bundle: phone_call
@ -21,13 +20,20 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
name: name:
type: string type: string
label: hidden label: hidden
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: 4 weight: 3
region: content region: content
oc_provider: oc_provider:
type: entity_reference_label type: entity_reference_label
@ -45,24 +51,8 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 1
region: content region: content
time_taken:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 3
region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 5
region: content
hidden: hidden:
description: true
search_api_excerpt: true search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,58 @@
uuid: 5277f0e8-d0c5-4faf-8978-f0c6d7cc0f5b
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.research
module:
- datetime
id: oc_activity.research.default
targetEntityType: oc_activity
bundle: research
mode: default
content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -0,0 +1,58 @@
uuid: bc3147a1-d263-4fb3-8059-4fe0dc180df9
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.supervision
module:
- datetime
id: oc_activity.supervision.default
targetEntityType: oc_activity
bundle: supervision
mode: default
content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -1,65 +0,0 @@
uuid: f33b1e75-dcc3-4471-9637-0bda9d795804
langcode: en
status: true
dependencies:
config:
- field.field.oc_activity.volunteer_training_session.field_date_attended
- field.field.oc_activity.volunteer_training_session.field_type_of_session
- opencase_entities.oc_activity_type.volunteer_training_session
module:
- datetime
- user
id: oc_activity.volunteer_training_session.default
targetEntityType: oc_activity
bundle: volunteer_training_session
mode: default
content:
field_date_attended:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 1
region: content
field_type_of_session:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
name:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: -3
region: content
time_taken:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: -3
region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 2
region: content
hidden:
activity_date_time: true
description: true
oc_provider: true
oc_target: true
search_api_excerpt: true

View File

@ -17,31 +17,36 @@ dependencies:
- field.field.oc_actor.client.field_marital_ - field.field.oc_actor.client.field_marital_
- field.field.oc_actor.client.field_nationalities - field.field.oc_actor.client.field_nationalities
- field.field.oc_actor.client.field_referred_by - field.field.oc_actor.client.field_referred_by
- field.field.oc_actor.client.field_sex
- opencase_entities.oc_actor_type.client - opencase_entities.oc_actor_type.client
module: module:
- datetime - datetime
- file - file
- options - options
- user
id: oc_actor.client.default id: oc_actor.client.default
targetEntityType: oc_actor targetEntityType: oc_actor
bundle: client bundle: client
mode: default mode: default
content: content:
cases:
settings: { }
third_party_settings: { }
weight: 19
region: content
email: email:
type: string type: string
label: above label: above
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -5 weight: 0
region: content region: content
field_asylum_status: field_asylum_status:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 3 weight: 8
region: content region: content
field_client_field_1: field_client_field_1:
type: string type: string
@ -57,7 +62,7 @@ content:
settings: settings:
use_description_as_link_text: true use_description_as_link_text: true
third_party_settings: { } third_party_settings: { }
weight: 12 weight: 17
region: content region: content
field_date_of_birth: field_date_of_birth:
type: datetime_default type: datetime_default
@ -66,7 +71,7 @@ content:
timezone_override: '' timezone_override: ''
format_type: short format_type: short
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 5
region: content region: content
field_dependants: field_dependants:
type: string type: string
@ -74,7 +79,7 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: 9 weight: 14
region: content region: content
field_disability: field_disability:
type: string type: string
@ -82,7 +87,7 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: 7 weight: 12
region: content region: content
field_ethnic_o: field_ethnic_o:
type: string type: string
@ -90,56 +95,56 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: 4 weight: 9
region: content region: content
field_gender_identified_with: field_gender_identified_with:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 6
region: content region: content
field_general_noes: field_general_noes:
type: basic_string type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 13 weight: 18
region: content region: content
field_how_heard: field_how_heard:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 10 weight: 15
region: content region: content
field_income: field_income:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 8 weight: 13
region: content region: content
field_languages_spoken: field_languages_spoken:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 6 weight: 11
region: content region: content
field_marital_: field_marital_:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 7
region: content region: content
field_nationalities: field_nationalities:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 5 weight: 10
region: content region: content
field_referred_by: field_referred_by:
type: string type: string
@ -147,7 +152,7 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: 11 weight: 16
region: content region: content
name: name:
type: string type: string
@ -163,7 +168,7 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -4 weight: 1
region: content region: content
phone2: phone2:
type: string type: string
@ -171,7 +176,7 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -3 weight: 2
region: content region: content
post_code: post_code:
type: string type: string
@ -179,14 +184,14 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -1 weight: 4
region: content region: content
postal_address: postal_address:
type: basic_string type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: -2 weight: 3
region: content region: content
hidden: hidden:
field_sex: true field_sex: true
@ -194,3 +199,5 @@ hidden:
last_name: true last_name: true
middle_names: true middle_names: true
search_api_excerpt: true search_api_excerpt: true
status: true
user_id: true

View File

@ -0,0 +1,58 @@
uuid: 67d86fb5-981d-4e62-866b-16921b71fa17
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_actor_type.staff_member
id: oc_actor.staff_member.default
targetEntityType: oc_actor
bundle: staff_member
mode: default
content:
email:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
phone:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
phone2:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 2
region: content
post_code:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
region: content
postal_address:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
hidden:
first_name: true
last_name: true
middle_names: true
search_api_excerpt: true
status: true
total_cases: true
user_id: true

View File

@ -23,43 +23,28 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -5 weight: 0
region: content
field_ethnic_o:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 6
region: content region: content
field_general_noes: field_general_noes:
type: basic_string type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 5 weight: 8
region: content region: content
field_languages_spoken: field_languages_spoken:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 5
region: content
field_nationalities:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content region: content
field_osic_level: field_osic_level:
type: list_default type: list_default
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 3 weight: 6
region: content region: content
field_sdfdsfds: field_sdfdsfds:
type: text_default type: text_default
@ -73,7 +58,7 @@ content:
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: 4 weight: 7
region: content region: content
name: name:
type: string type: string
@ -89,7 +74,7 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -4 weight: 1
region: content region: content
phone2: phone2:
type: string type: string
@ -97,7 +82,7 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -3 weight: 2
region: content region: content
post_code: post_code:
type: string type: string
@ -105,17 +90,22 @@ content:
settings: settings:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
weight: -1 weight: 4
region: content region: content
postal_address: postal_address:
type: basic_string type: basic_string
label: above label: above
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
weight: -2 weight: 3
region: content region: content
hidden: hidden:
field_ethnic_o: true
field_nationalities: true
first_name: true first_name: true
last_name: true last_name: true
middle_names: true middle_names: true
search_api_excerpt: true search_api_excerpt: true
status: true
total_cases: true
user_id: true

View File

@ -3,6 +3,7 @@ langcode: en
status: true status: true
dependencies: dependencies:
config: config:
- field.field.oc_case_provision.caseworker.field_test
- opencase_cases.oc_case_provision_type.caseworker - opencase_cases.oc_case_provision_type.caseworker
module: module:
- user - user
@ -11,6 +12,14 @@ targetEntityType: oc_case_provision
bundle: caseworker bundle: caseworker
mode: default mode: default
content: content:
field_test:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 4
region: content
oc_case_provider_role: oc_case_provider_role:
type: entity_reference_label type: entity_reference_label
label: above label: above

View File

@ -0,0 +1,59 @@
uuid: a943f9cf-97d5-47e4-99dd-bef53045f497
langcode: en
status: true
dependencies:
module:
- opencase_entities
- options
id: oc_equal_opps.oc_equal_opps.default
targetEntityType: oc_equal_opps
bundle: oc_equal_opps
mode: default
content:
access_needs:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 2
region: content
age:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content
gender:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
oc_actor:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 0
region: content
race_ethnicity:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
sexuality:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 5
region: content
hidden:
name: true
search_api_excerpt: true

View File

@ -1,25 +0,0 @@
uuid: d4b5d087-cb11-45a3-aeb7-9a7657f25e07
langcode: en
status: true
dependencies:
config:
- field.field.oc_event.piss_up.field_test
- opencase_entities.oc_event_type.piss_up
module:
- datetime
id: oc_event.piss_up.default
targetEntityType: oc_event
bundle: piss_up
mode: default
content:
field_test:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 51
region: content
hidden:
name: true
search_api_excerpt: true

View File

@ -0,0 +1,42 @@
uuid: 2018da40-3ab6-436f-8f34-8544ac73fb29
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_event_type.volunteer_training_session
module:
- datetime
id: oc_event.volunteer_training_session.default
targetEntityType: oc_event
bundle: volunteer_training_session
mode: default
content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 0
region: content
attendees:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
name: true
search_api_excerpt: true
status: true
user_id: true

View File

@ -0,0 +1,57 @@
uuid: 96b9f3c8-1433-4915-9656-4547eb1bc899
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_organisation_type.partner_organisation
module:
- file
id: oc_organisation.partner_organisation.default
targetEntityType: oc_organisation
bundle: partner_organisation
mode: default
content:
contact_name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 2
region: content
email:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: content
notes:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 1
region: content
website:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
billing_contact_name: true
billing_email: true
billing_phone: true
billing_post_code: true
billing_postal_address: true
contact_role: true
name: true
phone: true
post_code: true
postal_address: true
search_api_excerpt: true
status: true

View File

@ -16,8 +16,18 @@ targetEntityType: user
bundle: user bundle: user
mode: default mode: default
content: content:
field_linked_opencase_actor:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 0
region: content
member_for: member_for:
weight: 5 settings: { }
third_party_settings: { }
weight: 2
region: content region: content
user_picture: user_picture:
type: image type: image
@ -26,8 +36,7 @@ content:
image_link: content image_link: content
image_style: thumbnail image_style: thumbnail
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 1
region: content region: content
hidden: hidden:
field_linked_opencase_actor: true
search_api_excerpt: true search_api_excerpt: true

View File

@ -81,6 +81,7 @@ module:
views_aggregator: 0 views_aggregator: 0
views_aggregator_more_functions: 0 views_aggregator_more_functions: 0
views_autosubmit: 0 views_autosubmit: 0
views_contextual_filters_or: 0
views_data_export: 0 views_data_export: 0
views_summarize: 0 views_summarize: 0
views_ui: 0 views_ui: 0

View File

@ -7,3 +7,27 @@ definitions:
weight: 0 weight: 0
expanded: false expanded: false
enabled: true enabled: true
opencase__reporting:
weight: -48
menu_name: opencase
parent: ''
enabled: true
expanded: false
opencase__see_all:
weight: -50
menu_name: opencase
parent: ''
expanded: false
enabled: true
opencase__opencase_add_new_things_menu:
weight: -49
menu_name: opencase
parent: ''
expanded: false
enabled: true
opencase__opencase_admin_menu:
weight: -47
menu_name: opencase
parent: ''
expanded: false
enabled: true

View File

@ -43,13 +43,15 @@ settings:
items: items:
- Source - Source
plugins: plugins:
language:
language_list: un
stylescombo: stylescombo:
styles: '' styles: ''
image_upload: image_upload:
status: true status: false
scheme: public scheme: public
directory: inline-images directory: inline-images
max_size: '' max_size: ''
max_dimensions: max_dimensions:
width: 0 width: null
height: 0 height: null

View File

@ -0,0 +1,53 @@
uuid: 77781cfa-1449-4d3b-8e87-28b1eb760e14
langcode: en
status: true
dependencies:
config:
- opencase_cases.oc_case_provision_type.caseworker
- user.role.authenticated
module:
- opencase_cases
- user
id: oc_case.accommodation.caseworkers
label: Caseworkers
display_label: true
name: caseworkers
description: ''
base_entity_type_id: oc_case
base_bundle_type_id: accommodation
field_type_id: views
field_type_config:
view_name: case_provisions
display: block_2
arguments: ''
field_type_condition:
'entity_bundle:oc_case':
id: 'entity_bundle:oc_case'
negate: false
context_mapping:
oc_case: entity_extra_field.target_entity
bundles:
accommodation: accommodation
asylum_support: asylum_support
employability: employability
enquiry: enquiry
health: health
immigration: immigration
pro_bono_immigration_service: pro_bono_immigration_service
volunteer_engagement: volunteer_engagement
welfare_rights: welfare_rights
route:
id: route
negate: false
routes: ''
request_path:
id: request_path
negate: false
pages: ''
current_theme:
id: current_theme
theme: ''
negate: 0
field_conditions_all_pass: false
display:
type: view

View File

@ -1,21 +0,0 @@
uuid: e3c9dacd-b1d3-4394-8291-87dcbdb483b8
langcode: en
status: true
dependencies:
config:
- field.storage.oc_activity.field_date_attended
- opencase_entities.oc_activity_type.volunteer_training_session
module:
- datetime
id: oc_activity.volunteer_training_session.field_date_attended
field_name: field_date_attended
entity_type: oc_activity
bundle: volunteer_training_session
label: 'Date attended'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: datetime

View File

@ -1,19 +0,0 @@
uuid: 5ee021de-3208-4be0-8279-0ffad8042602
langcode: en
status: true
dependencies:
config:
- field.storage.oc_activity.field_type_of_session
- opencase_entities.oc_activity_type.volunteer_training_session
id: oc_activity.volunteer_training_session.field_type_of_session
field_name: field_type_of_session
entity_type: oc_activity
bundle: volunteer_training_session
label: 'Type of session'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -0,0 +1,31 @@
uuid: 561fe652-6e6b-401a-a5d7-eef6402f6d07
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case_provision.field_test
- opencase_cases.oc_case_provision_type.caseworker
- opencase_entities.oc_actor_type.staff_member
- opencase_entities.oc_actor_type.volunteer
id: oc_case_provision.caseworker.field_test
field_name: field_test
entity_type: oc_case_provision
bundle: caseworker
label: test
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:oc_actor'
handler_settings:
target_bundles:
staff_member: staff_member
volunteer: volunteer
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: staff_member
field_type: entity_reference

View File

@ -1,21 +0,0 @@
uuid: aef69a74-1ce8-4730-ae74-00508301ce5c
langcode: en
status: true
dependencies:
config:
- field.storage.oc_event.field_test
- opencase_entities.oc_event_type.piss_up
id: oc_event.piss_up.field_test
field_name: field_test
entity_type: oc_event
bundle: piss_up
label: test
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:oc_actor'
handler_settings: { }
field_type: entity_reference

View File

@ -1,20 +0,0 @@
uuid: a61bfa28-fc31-4bf7-ac3c-871192b9d57e
langcode: en
status: true
dependencies:
module:
- datetime
- opencase_entities
id: oc_activity.field_date_attended
field_name: field_date_attended
entity_type: oc_activity
type: datetime
settings:
datetime_type: date
module: datetime
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,21 +0,0 @@
uuid: 2667af61-41f7-4d8b-a154-68ce7514f559
langcode: en
status: true
dependencies:
module:
- opencase_entities
id: oc_activity.field_type_of_session
field_name: field_type_of_session
entity_type: oc_activity
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,18 +1,19 @@
uuid: 9f37ed7d-87ee-4d6c-a4a2-f69077b51db0 uuid: f90d1b9f-ee8a-4f79-ae7d-fafd4ec10cea
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- opencase_cases
- opencase_entities - opencase_entities
id: oc_event.field_test id: oc_case_provision.field_test
field_name: field_test field_name: field_test
entity_type: oc_event entity_type: oc_case_provision
type: entity_reference type: entity_reference
settings: settings:
target_type: oc_actor target_type: oc_actor
module: core module: core
locked: false locked: false
cardinality: -1 cardinality: 1
translatable: true translatable: true
indexes: { } indexes: { }
persist_with_no_fields: false persist_with_no_fields: false

View File

@ -1,6 +0,0 @@
uuid: fde52f28-d60a-46ef-9cf9-e924bd852893
langcode: en
status: true
dependencies: { }
id: telephone_call
label: 'Telephone call'

View File

@ -1,6 +0,0 @@
uuid: 578260fa-04c2-4965-bc38-057f5669524e
langcode: en
status: true
dependencies: { }
id: volunteer_training_session
label: 'Volunteer training attended'

View File

@ -1,6 +0,0 @@
uuid: 114bb324-9157-430e-9d69-a7ae31a0cbad
langcode: en
status: true
dependencies: { }
id: piss_up
label: Piss-up

View File

@ -0,0 +1,6 @@
uuid: 23b76c7c-1cee-4bcf-ba4b-97696774c574
langcode: en
status: true
dependencies: { }
id: volunteer_training_session
label: 'Volunteer training session'

View File

@ -3,4 +3,4 @@ langcode: en
status: true status: true
dependencies: { } dependencies: { }
id: partner_organisation id: partner_organisation
label: 'Partner Organisation' label: 'Partner organisation'

View File

@ -4,7 +4,7 @@ cache:
page: page:
max_age: 0 max_age: 0
css: css:
preprocess: true preprocess: false
gzip: true gzip: true
fast_404: fast_404:
enabled: true enabled: true
@ -12,6 +12,6 @@ fast_404:
exclude_paths: '/\/(?:styles|imagecache)\//' exclude_paths: '/\/(?:styles|imagecache)\//'
html: '<!DOCTYPE html><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>' html: '<!DOCTYPE html><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>'
js: js:
preprocess: true preprocess: false
gzip: true gzip: true
stale_file_threshold: 2592000 stale_file_threshold: 2592000

View File

@ -8,7 +8,7 @@ slogan: ''
page: page:
403: /user/login 403: /user/login
404: '' 404: ''
front: /node front: /opencase/actors/client
admin_compact_mode: false admin_compact_mode: false
weight_select_max: 100 weight_select_max: 100
default_langcode: en default_langcode: en

View File

@ -8,6 +8,8 @@ dependencies:
- comment - comment
- contact - contact
- filter - filter
- opencase
- opencase_entities
- search - search
- shortcut - shortcut
- system - system
@ -22,7 +24,43 @@ permissions:
- 'access content' - 'access content'
- 'access shortcuts' - 'access shortcuts'
- 'access site-wide contact form' - 'access site-wide contact form'
- 'add activity entities'
- 'add case entities'
- 'add client entities'
- 'add equal opps entities'
- 'add event entities'
- 'add organisation entities'
- 'add staff_member entities'
- 'add volunteer entities'
- 'edit activity entities'
- 'edit bank account entities'
- 'edit case entities'
- 'edit client entities'
- 'edit equal opps entities'
- 'edit event entities'
- 'edit organisation entities'
- 'edit staff_member entities'
- 'edit volunteer entities'
- 'post comments' - 'post comments'
- 'revert all activity revisions'
- 'revert all client revisions'
- 'revert all organisation revisions'
- 'revert all staff_member revisions'
- 'revert all volunteer revisions'
- 'search content' - 'search content'
- 'skip comment approval' - 'skip comment approval'
- 'use opencase'
- 'use text format basic_html' - 'use text format basic_html'
- 'view all activity revisions'
- 'view all client revisions'
- 'view all organisation revisions'
- 'view all staff_member revisions'
- 'view all volunteer revisions'
- 'view published activity entities'
- 'view published client entities'
- 'view published equal opps entities'
- 'view published event entities'
- 'view published organisation entities'
- 'view published organisation relation entities'
- 'view published staff_member entities'
- 'view published volunteer entities'

View File

@ -1,7 +1,9 @@
uuid: 82123195-ae6e-4d7a-9755-df73244e110d uuid: 82123195-ae6e-4d7a-9755-df73244e110d
langcode: en langcode: en
status: true status: true
dependencies: { } dependencies:
module:
- opencase_entities
id: caseworker id: caseworker
label: Caseworker label: Caseworker
weight: 5 weight: 5

View File

@ -1,7 +1,12 @@
uuid: 89e8d1a4-b540-4ce5-b503-bf6f32178d49 uuid: 89e8d1a4-b540-4ce5-b503-bf6f32178d49
langcode: en langcode: en
status: true status: true
dependencies: { } dependencies:
module:
- field_ui
- opencase
- opencase_cases
- opencase_entities
_core: _core:
default_config_hash: NYNlwo5WdxRZXhqrfBgLvCR19LE64SrLojs7_zOGJ5Q default_config_hash: NYNlwo5WdxRZXhqrfBgLvCR19LE64SrLojs7_zOGJ5Q
id: opencase_admin id: opencase_admin

View File

@ -1,7 +1,9 @@
uuid: 7f74c263-619c-41d8-a528-6eacff355fe7 uuid: 7f74c263-619c-41d8-a528-6eacff355fe7
langcode: en langcode: en
status: true status: true
dependencies: { } dependencies:
module:
- opencase_entities
id: overseer id: overseer
label: Overseer label: Overseer
weight: 4 weight: 4

View File

@ -1,7 +1,9 @@
uuid: 88bb4aeb-bccc-41ed-8799-bdb10d5e4f4e uuid: 88bb4aeb-bccc-41ed-8799-bdb10d5e4f4e
langcode: en langcode: en
status: true status: true
dependencies: { } dependencies:
module:
- opencase_entities
id: volunteer_co_ord id: volunteer_co_ord
label: 'Volunteer Co-ordinator' label: 'Volunteer Co-ordinator'
weight: 6 weight: 6

View File

@ -5,6 +5,7 @@ dependencies:
config: config:
- user.role.authenticated - user.role.authenticated
module: module:
- datetime
- opencase_entities - opencase_entities
- user - user
id: activities id: activities
@ -23,6 +24,267 @@ display:
display_options: display_options:
title: Activities title: Activities
fields: fields:
type:
id: type
table: oc_activity_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: type
plugin_id: field
label: 'Activity type'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
activity_date_time:
id: activity_date_time
table: oc_activity_field_data
field: activity_date_time
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: activity_date_time
plugin_id: field
label: Date
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: datetime_default
settings:
timezone_override: ''
format_type: short
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
oc_target:
id: oc_target
table: oc_activity_field_data
field: oc_target
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: oc_target
plugin_id: field
label: Target
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
oc_provider:
id: oc_provider
table: oc_activity_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: oc_provider
plugin_id: field
label: Provider
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
name: name:
id: name id: name
table: oc_activity_field_data table: oc_activity_field_data
@ -33,7 +295,7 @@ display:
entity_type: null entity_type: null
entity_field: name entity_field: name
plugin_id: field plugin_id: field
label: '' label: Subject
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
@ -88,16 +350,17 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
delete_oc_activity: description:
id: delete_oc_activity id: description
table: oc_activity table: oc_activity_field_data
field: delete_oc_activity field: description
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_activity entity_type: oc_activity
plugin_id: entity_link_delete entity_field: description
label: 'Link to delete Activity' plugin_id: field
label: Notes
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
@ -138,9 +401,19 @@ display:
hide_empty: false hide_empty: false
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
text: delete click_sort_column: value
output_url_as_text: false type: basic_string
absolute: false settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager: pager:
type: mini type: mini
options: options:
@ -218,6 +491,44 @@ display:
validate_options: { } validate_options: { }
break_phrase: false break_phrase: false
not: false not: false
oc_provider:
id: oc_provider
table: oc_activity_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: ''
entity_type: oc_activity
entity_field: oc_provider
plugin_id: numeric
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
filters: { } filters: { }
style: style:
type: table type: table
@ -226,11 +537,51 @@ display:
row_class: '' row_class: ''
default_row_class: true default_row_class: true
columns: columns:
type: type
activity_date_time: activity_date_time
oc_target: oc_target
oc_provider: oc_provider
name: name name: name
description: description
default: '-1' default: '-1'
info: info:
type:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
activity_date_time:
sortable: true
default_sort_order: desc
align: ''
separator: ''
empty_column: false
responsive: ''
oc_target:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
oc_provider:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
name: name:
sortable: false sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
description:
sortable: true
default_sort_order: asc default_sort_order: asc
align: '' align: ''
separator: '' separator: ''
@ -257,6 +608,7 @@ display:
distinct: false distinct: false
replica: false replica: false
query_tags: { } query_tags: { }
contextual_filters_or: true
relationships: { } relationships: { }
header: { } header: { }
footer: { } footer: { }

View File

@ -28,14 +28,15 @@ display:
fields: fields:
name: name:
id: name id: name
table: search_api_index_opencase_actors table: search_api_datasource_opencase_actors_entity_oc_actor
field: name field: name
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_actor
plugin_id: search_api_field plugin_id: search_api_field
label: 'Organisation name ' label: Name
exclude: true exclude: false
alter: alter:
alter_text: false alter_text: false
text: '' text: ''
@ -106,7 +107,7 @@ display:
entity_type: oc_actor entity_type: oc_actor
plugin_id: search_api_field plugin_id: search_api_field
label: 'Person type' label: 'Person type'
exclude: true exclude: false
alter: alter:
alter_text: false alter_text: false
text: '' text: ''
@ -170,222 +171,6 @@ display:
display_methods: display_methods:
oc_actor_type: oc_actor_type:
display_method: label display_method: label
type_1:
id: type_1
table: search_api_datasource_opencase_actors_entity_oc_organisation
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
plugin_id: search_api_field
label: Type
exclude: false
alter:
alter_text: true
text: '{{ type }}{{ type_1 }}'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: '{{ type }}{{ type_1 }}'
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api_entity
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
display_methods:
oc_organisation_type:
display_method: label
first_name:
id: first_name
table: search_api_datasource_opencase_actors_entity_oc_actor
field: first_name
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
plugin_id: search_api_field
label: 'First Name'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
last_name:
id: last_name
table: search_api_datasource_opencase_actors_entity_oc_actor
field: last_name
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
plugin_id: search_api_field
label: 'Last Name'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
pager: pager:
type: mini type: mini
options: options:

View File

@ -87,6 +87,73 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
created:
id: created
table: oc_actor_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
entity_field: created
plugin_id: field
label: 'Date added'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: timestamp
settings:
date_format: short
custom_date_format: ''
timezone: ''
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager: pager:
type: mini type: mini
options: options:
@ -124,7 +191,22 @@ display:
type: tag type: tag
options: { } options: { }
empty: { } empty: { }
sorts: { } sorts:
name:
id: name
table: oc_actor_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
entity_field: name
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
arguments: arguments:
type: type:
id: type id: type
@ -142,7 +224,7 @@ display:
title_enable: false title_enable: false
title: All title: All
title_enable: true title_enable: true
title: '{{ arguments.type }} ' title: '{{ arguments.type }}s'
default_argument_type: raw default_argument_type: raw
default_argument_options: default_argument_options:
index: 1 index: 1
@ -164,7 +246,7 @@ display:
validate_options: { } validate_options: { }
glossary: false glossary: false
limit: 0 limit: 0
case: none case: ucfirst
path_case: none path_case: none
transform_dash: false transform_dash: false
break_phrase: false break_phrase: false
@ -177,15 +259,23 @@ display:
default_row_class: true default_row_class: true
columns: columns:
name: name name: name
created: created
default: '-1' default: '-1'
info: info:
name: name:
sortable: false sortable: true
default_sort_order: asc default_sort_order: asc
align: '' align: ''
separator: '' separator: ''
empty_column: false empty_column: false
responsive: '' responsive: ''
created:
sortable: true
default_sort_order: desc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true override: true
sticky: false sticky: false
summary: '' summary: ''

View File

@ -5,8 +5,10 @@ dependencies:
config: config:
- opencase_entities.oc_actor_type.staff_member - opencase_entities.oc_actor_type.staff_member
- opencase_entities.oc_actor_type.volunteer - opencase_entities.oc_actor_type.volunteer
- user.role.authenticated
module: module:
- opencase_entities - opencase_entities
- user
id: case_providers id: case_providers
label: 'Case providers' label: 'Case providers'
module: views module: views
@ -115,8 +117,10 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
access: access:
type: none type: role
options: { } options:
role:
authenticated: authenticated
cache: cache:
type: tag type: tag
options: { } options: { }
@ -199,6 +203,7 @@ display:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url.query_args - url.query_args
- user.roles
tags: { } tags: { }
entity_reference_1: entity_reference_1:
id: entity_reference_1 id: entity_reference_1
@ -217,4 +222,5 @@ display:
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- user.roles
tags: { } tags: { }

View File

@ -0,0 +1,701 @@
uuid: 00afe158-4881-4478-b808-06e2841efc36
langcode: en
status: true
dependencies:
config:
- opencase_cases.oc_case_provision_type.caseworker
- user.role.authenticated
module:
- opencase_cases
- user
id: case_provisions
label: 'Case provisions'
module: views
description: ''
tag: ''
base_table: oc_case_provision_field_data
base_field: id
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: 'Case provisions'
fields:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: field
label: Case
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
oc_case_provider_role:
id: oc_case_provider_role
table: oc_case_provision_field_data
field: oc_case_provider_role
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
label: Role
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: none
options:
offset: 0
items_per_page: null
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments:
oc_provider:
id: oc_provider
table: oc_case_provision_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_provider
plugin_id: numeric
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
filters:
status:
id: status
table: oc_case_provision_field_data
field: status
entity_type: oc_case_provision
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
type:
id: type
table: oc_case_provision_field_data
field: type
entity_type: oc_case_provision
entity_field: type
plugin_id: bundle
value:
caseworker: caseworker
expose:
operator_limit_selection: false
operator_list: { }
style:
type: table
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
block_1:
id: block_1
display_title: 'By provider'
display_plugin: block
position: 1
display_options:
fields:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: field
label: Case
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
oc_case_provider_role:
id: oc_case_provider_role
table: oc_case_provision_field_data
field: oc_case_provider_role
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
label: Role
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
oc_target:
id: oc_target
table: oc_case_field_data
field: oc_target
relationship: oc_case
group_type: group
admin_label: ''
entity_type: oc_case
entity_field: oc_target
plugin_id: field
label: Target
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
defaults:
relationships: false
fields: false
relationships:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: Case
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: standard
required: false
display_description: ''
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
block_2:
id: block_2
display_title: 'By case'
display_plugin: block
position: 2
display_options:
fields:
oc_provider:
id: oc_provider
table: oc_case_provision_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_provider
plugin_id: field
label: Name
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
oc_case_provider_role:
id: oc_case_provider_role
table: oc_case_provision_field_data
field: oc_case_provider_role
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
label: Role
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
arguments:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: numeric
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
defaults:
relationships: false
fields: false
arguments: false
header: false
relationships: { }
display_description: ''
header:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: '<a href=''/opencase/oc_case_provision/add/caseworker?case_id={{ raw_arguments.oc_case }}''>Add a caseworker</a>'
tokenize: true
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }

View File

@ -7,7 +7,6 @@ dependencies:
module: module:
- opencase_entities - opencase_entities
- user - user
- views_autosubmit
_core: _core:
default_config_hash: eYcO9ivZP8SZgdNDXedppm0USNqwvJM7jFy6LOV6tcg default_config_hash: eYcO9ivZP8SZgdNDXedppm0USNqwvJM7jFy6LOV6tcg
id: equal_opps_records id: equal_opps_records
@ -110,7 +109,7 @@ display:
offset: false offset: false
offset_label: Offset offset_label: Offset
exposed_form: exposed_form:
type: autosubmit type: input_required
options: options:
submit_button: Apply submit_button: Apply
reset_button: false reset_button: false
@ -119,7 +118,8 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
autosubmit_hide: true text_input_required: ''
text_input_required_format: basic_html
access: access:
type: perm type: perm
options: options:

View File

@ -143,7 +143,7 @@ display:
title_enable: false title_enable: false
title: All title: All
title_enable: true title_enable: true
title: '{{ arguments.type }}' title: '{{ arguments.type }}s'
default_argument_type: raw default_argument_type: raw
default_argument_options: default_argument_options:
index: 1 index: 1
@ -165,7 +165,7 @@ display:
validate_options: { } validate_options: { }
glossary: false glossary: false
limit: 0 limit: 0
case: none case: ucfirst
path_case: none path_case: none
transform_dash: false transform_dash: false
break_phrase: false break_phrase: false

View File

@ -2,11 +2,15 @@ uuid: 0c812021-ff90-442b-a7a0-353d538d6e15
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- system.menu.opencase
- user.role.authenticated
module: module:
- csv_serialization - csv_serialization
- opencase_entities - opencase_entities
- rest - rest
- serialization - serialization
- user
- views_data_export - views_data_export
id: sample_downloadable_report id: sample_downloadable_report
label: 'Sample Downloadable Report' label: 'Sample Downloadable Report'
@ -22,7 +26,7 @@ display:
display_plugin: default display_plugin: default
position: 0 position: 0
display_options: display_options:
title: 'Sample Downloadable Report' title: 'Sample Report'
fields: fields:
name: name:
id: name id: name
@ -117,8 +121,10 @@ display:
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
access: access:
type: none type: role
options: { } options:
role:
authenticated: authenticated
cache: cache:
type: tag type: tag
options: { } options: { }
@ -197,6 +203,7 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args - url.query_args
- user.roles
tags: { } tags: { }
data_export_1: data_export_1:
id: data_export_1 id: data_export_1
@ -236,6 +243,7 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- request_format - request_format
- url - url
- user.roles
tags: { } tags: { }
page_1: page_1:
id: page_1 id: page_1
@ -245,6 +253,15 @@ display:
display_options: display_options:
display_extenders: { } display_extenders: { }
path: sample-downloadable-report path: sample-downloadable-report
menu:
type: normal
title: 'Sample downloadable report'
description: ''
weight: 0
expanded: false
menu_name: opencase
parent: opencase.reporting
context: '0'
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
@ -252,4 +269,5 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args - url.query_args
- user.roles
tags: { } tags: { }

View File

@ -4,8 +4,10 @@ status: true
dependencies: dependencies:
config: config:
- search_api.index.default_index - search_api.index.default_index
- user.role.authenticated
module: module:
- search_api - search_api
- user
_core: _core:
default_config_hash: EeNNkLARDmftWehrk-ew_OW8srW2RgDKI1mZrWxZ-ao default_config_hash: EeNNkLARDmftWehrk-ew_OW8srW2RgDKI1mZrWxZ-ao
id: search_content id: search_content
@ -54,8 +56,10 @@ display:
text_input_required: 'Please enter some keywords to search.' text_input_required: 'Please enter some keywords to search.'
text_input_required_format: basic_html text_input_required_format: basic_html
access: access:
type: none type: role
options: { } options:
role:
authenticated: authenticated
cache: cache:
type: none type: none
options: { } options: { }
@ -133,13 +137,15 @@ display:
footer: { } footer: { }
display_extenders: { } display_extenders: { }
cache_metadata: cache_metadata:
max-age: 0 max-age: -1
contexts: contexts:
- 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args - url.query_args
tags: { } - 'user.node_grants:view'
- user.roles
tags:
- 'config:search_api.index.default_index'
cacheable: false cacheable: false
page_1: page_1:
id: page_1 id: page_1
@ -150,11 +156,13 @@ display:
display_extenders: { } display_extenders: { }
path: search/content path: search/content
cache_metadata: cache_metadata:
max-age: 0 max-age: -1
contexts: contexts:
- 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args - url.query_args
tags: { } - 'user.node_grants:view'
- user.roles
tags:
- 'config:search_api.index.default_index'
cacheable: false cacheable: false

View File

@ -3,6 +3,13 @@
display: none; display: none;
} }
/* download icon for reports */
.feed-icons .views-data-export-feed .feed-icon {
background-image: url('/modules/contrib/opencase/resources/download.png');
width: 50px;
height: 50px;
}
/* paragraphs */ /* paragraphs */

View File

@ -156,11 +156,14 @@ function _opencase_cases_redirect_to_home($form, &$form_state) {
// Upon deletion of an activity, go to the related case if there is one, otherwise to its target. // Upon deletion of an activity, go to the related case if there is one, otherwise to its target.
function _opencase_cases_delete_activity_redirect($form, &$form_state) { function _opencase_cases_delete_activity_redirect($form, &$form_state) {
if (!IsEmpty($form_state->getFormObject()->getEntity()->oc_case)) { $entity = $form_state->getFormObject()->getEntity();
$case_id = $form_state->getFormObject()->getEntity()->oc_case->target_id; // for some reason this fires when deleting an activity type, shouldn't do but.s
if ($entity instanceof \Drupal\opencase_entities\Entity\OCActivityType) return;
if (!IsEmpty($entity->oc_case)) {
$case_id = $entity->oc_case->target_id;
$form_state->setRedirect('entity.oc_case.canonical', ['oc_case' => $case_id]); $form_state->setRedirect('entity.oc_case.canonical', ['oc_case' => $case_id]);
} else { } else {
$target_actor_id = $form_state->getFormObject()->getEntity()->oc_target->target_id; $target_actor_id = $entity->oc_target->target_id;
$form_state->setRedirect('entity.oc_actor.canonical', ['oc_actor' => $target_actor_id]); $form_state->setRedirect('entity.oc_actor.canonical', ['oc_actor' => $target_actor_id]);
} }
} }

View File

@ -25,12 +25,12 @@ class OCActivityAccessControlHandler extends EntityAccessControlHandler {
return AccessResult::allowedIfHasPermission($account, 'view unpublished activity entities'); return AccessResult::allowedIfHasPermission($account, 'view unpublished activity entities');
} }
return AccessResult::allowedIf( return AccessResult::allowedIf(
$account->hasPermission('view published case entities') // activity permissions are inherited from case $account->hasPermission('view published activity entities')
|| $entity->getOwner()->id() == $account->id() || $entity->getOwner()->id() == $account->id()
); );
case 'update': // allowed only if a) they can see the case the activity is on and b) they can edit activities case 'update': // allowed only if a) they can see the case the activity is on and b) they can edit activities
return AccessResult::allowedIf( return AccessResult::allowedIf(
$account->hasPermission('edit activity entities') // activity permissions are inherited from case $account->hasPermission('edit activity entities')
|| $entity->getOwner()->id() == $account->id() || $entity->getOwner()->id() == $account->id()
); );
case 'delete': // allowed only if a) they can see the case the activity is on and b) they can delete activities case 'delete': // allowed only if a) they can see the case the activity is on and b) they can delete activities

View File

@ -39,7 +39,7 @@ opencase.add_events_links:
menu_name: opencase menu_name: opencase
parent: opencase.opencase_add_new_things_menu parent: opencase.opencase_add_new_things_menu
opencase.add_equal_opps: opencase.add_equal_opps:
title: 'Equal Opportunies record' title: 'Equal Opps record'
menu_name: opencase menu_name: opencase
url: internal:/opencase/oc_equal_opps/add url: internal:/opencase/oc_equal_opps/add
parent: opencase.opencase_add_new_things_menu parent: opencase.opencase_add_new_things_menu

View File

@ -14,6 +14,7 @@ function opencase_element_info_alter(array &$types) {
$types['datetime']['#process'][] = 'opencase_process_element'; $types['datetime']['#process'][] = 'opencase_process_element';
} }
/** /**
* Element process callback for datetime fields. Removes the seconds part. * Element process callback for datetime fields. Removes the seconds part.
*/ */
@ -126,6 +127,19 @@ function opencase_entity_field_access($operation, \Drupal\Core\Field\FieldDefini
return AccessResult::neutral(); return AccessResult::neutral();
} }
/*
Implementation of hook_relevant_activity_type_ids which is a custom hook invoked in the AddActivity block.
*/
function opencase_relevant_activity_type_ids($actorTypeID) {
switch ($actorTypeID) {
case 'volunteer':
return ['email', 'phone_call', 'supervision'];
case 'client':
return ['email', 'lete', 'phone_call', 'case_note', 'destitution_funds_provided', 'research', 'application'];
case 'staff_member':
return ['application', 'interview'];
}
}
/** /**
* Implementation of hook_form_alter() * Implementation of hook_form_alter()

BIN
resources/download.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -0,0 +1,52 @@
<?php declare(strict_types = 1);
namespace Drupal\opencase\Plugin\Block;
use Drupal\Core\Block\BlockBase;
/**
* Provides a Block with some help text about actor type fields
*
* @Block(
* id = "add_activity",
* admin_label = @Translation("Add Activity"),
* category = @Translation("Opencase"),
* )
*/
class AddActivity extends BlockBase {
/**
* {@inheritdoc}
*/
public function build():array {
$actor = \Drupal::routeMatch()->getParameter('oc_actor');
$target_id = $actor->id();
$actorType = $actor->bundle();
$markup = "<ul>";
$activity_types = $this->getActivityTypesToDisplay($actorType);
foreach($activity_types as $id => $info) {
$label = $info['label'];
$markup .= "<li><a href='/opencase/oc_activity/add/$id?target_id=$target_id&destination=/opencase/oc_actor/$target_id'>$label</a></li>";
}
$markup .= "</ul>";
return array('#markup' => $markup);
}
public function getCacheMaxAge():int {
return 0;
}
private function getActivityTypesToDisplay(string $actorType): array {
// Client modules will provide a list of what activity types (bundles) are relevant for each actor type.
// Check if they are implemented, and if so display them.
$implemented_activity_types = \Drupal::service('entity_type.bundle.info')->getBundleInfo('oc_activity');
$relevant_activity_type_ids = \Drupal::moduleHandler()->invokeAll('relevant_activity_type_ids', [$actorType]);
$activity_types_to_display = [];
foreach ($relevant_activity_type_ids as $type_id) {
if (array_key_exists($type_id, $implemented_activity_types)) {
$activity_types_to_display[$type_id] = $implemented_activity_types[$type_id];
}
}
return $activity_types_to_display;
}
}

View File

@ -45,7 +45,7 @@ class AddEventsMenuLink extends DeriverBase implements ContainerDeriverInterface
$eventTypes = $this->entityTypeManager->getStorage('oc_event_type')->loadMultiple(); $eventTypes = $this->entityTypeManager->getStorage('oc_event_type')->loadMultiple();
foreach ($eventTypes as $id => $eventType) { foreach ($eventTypes as $id => $eventType) {
$links[$id] = [ $links[$id] = [
'title' => $eventType->label() . " Event", 'title' => $eventType->label(),
'route_name' => "entity.oc_event.add_form", 'route_name' => "entity.oc_event.add_form",
'route_parameters' => ['oc_event_type' => $eventType->id()] 'route_parameters' => ['oc_event_type' => $eventType->id()]
] + $base_plugin_definition; ] + $base_plugin_definition;

View File

@ -45,7 +45,7 @@ class SeeAllActorsMenuLink extends DeriverBase implements ContainerDeriverInterf
$actorTypes = $this->entityTypeManager->getStorage('oc_actor_type')->loadMultiple(); $actorTypes = $this->entityTypeManager->getStorage('oc_actor_type')->loadMultiple();
foreach ($actorTypes as $id => $actorType) { foreach ($actorTypes as $id => $actorType) {
$links[$id] = [ $links[$id] = [
'title' => $actorType->label(), 'title' => \Drupal\opencase\Pluraliser::pluralise($actorType->label()),
'route_name' => "view.actors.page_1", 'route_name' => "view.actors.page_1",
'route_parameters' => ['type' => $actorType->id()] 'route_parameters' => ['type' => $actorType->id()]
] + $base_plugin_definition; ] + $base_plugin_definition;

View File

@ -50,7 +50,7 @@ class SeeAllEventsMenuLink extends DeriverBase implements ContainerDeriverInterf
$eventTypes = $this->entityTypeManager->getStorage('oc_event_type')->loadMultiple(); $eventTypes = $this->entityTypeManager->getStorage('oc_event_type')->loadMultiple();
foreach ($eventTypes as $id => $eventType) { foreach ($eventTypes as $id => $eventType) {
$links[$id] = [ $links[$id] = [
'title' => $eventType->label(), 'title' => \Drupal\opencase\Pluraliser::pluralise($eventType->label()),
'route_name' => "view.events.page_1", 'route_name' => "view.events.page_1",
'route_parameters' => ['type' => $eventType->id()] 'route_parameters' => ['type' => $eventType->id()]
] + $base_plugin_definition; ] + $base_plugin_definition;

View File

@ -45,7 +45,7 @@ class SeeAllOrganisationsMenuLink extends DeriverBase implements ContainerDerive
$organisationTypes = $this->entityTypeManager->getStorage('oc_organisation_type')->loadMultiple(); $organisationTypes = $this->entityTypeManager->getStorage('oc_organisation_type')->loadMultiple();
foreach ($organisationTypes as $id => $organisationType) { foreach ($organisationTypes as $id => $organisationType) {
$links[$id] = [ $links[$id] = [
'title' => $organisationType->label(), 'title' => \Drupal\opencase\Pluraliser::pluralise($organisationType->label()),
'route_name' => "view.organisations.page_1", 'route_name' => "view.organisations.page_1",
'route_parameters' => ['type' => $organisationType->id()] 'route_parameters' => ['type' => $organisationType->id()]
] + $base_plugin_definition; ] + $base_plugin_definition;

9
src/Pluraliser.php Normal file
View File

@ -0,0 +1,9 @@
<?php declare(strict_types=1);
namespace Drupal\opencase;
class Pluraliser {
public static function pluralise($text) {
return $text . "s";
}
}