Added features for example entity subtypes
This commit is contained in:
parent
b92efc4600
commit
c1cebcbddd
@ -0,0 +1,38 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.activity.case_note.field_file
|
||||
- field.field.activity.case_note.field_notes
|
||||
- zencrm_entities.activity_type.case_note
|
||||
module:
|
||||
- file
|
||||
id: activity.case_note.default
|
||||
targetEntityType: activity
|
||||
bundle: case_note
|
||||
mode: default
|
||||
content:
|
||||
field_file:
|
||||
weight: 4
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
third_party_settings: { }
|
||||
type: file_generic
|
||||
region: content
|
||||
field_notes:
|
||||
weight: 3
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textarea
|
||||
region: content
|
||||
name:
|
||||
type: string_textfield
|
||||
weight: -4
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
@ -0,0 +1,32 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.activity.self_assessment.field_how_is_your_housing_situat
|
||||
- field.field.activity.self_assessment.field_how_is_your_mental_health_
|
||||
- field.field.activity.self_assessment.field_how_is_your_physical_healt
|
||||
- zencrm_entities.activity_type.self_assessment
|
||||
id: activity.self_assessment.default
|
||||
targetEntityType: activity
|
||||
bundle: self_assessment
|
||||
mode: default
|
||||
content:
|
||||
field_how_is_your_housing_situat:
|
||||
weight: 5
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: options_buttons
|
||||
region: content
|
||||
field_how_is_your_mental_health_:
|
||||
weight: 4
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: options_buttons
|
||||
region: content
|
||||
field_how_is_your_physical_healt:
|
||||
weight: 3
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: options_buttons
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,38 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.activity.case_note.field_file
|
||||
- field.field.activity.case_note.field_notes
|
||||
- zencrm_entities.activity_type.case_note
|
||||
module:
|
||||
- file
|
||||
id: activity.case_note.default
|
||||
targetEntityType: activity
|
||||
bundle: case_note
|
||||
mode: default
|
||||
content:
|
||||
field_file:
|
||||
weight: -2
|
||||
label: above
|
||||
settings:
|
||||
use_description_as_link_text: true
|
||||
third_party_settings: { }
|
||||
type: file_default
|
||||
region: content
|
||||
field_notes:
|
||||
weight: -3
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: basic_string
|
||||
region: content
|
||||
name:
|
||||
label: above
|
||||
type: string
|
||||
weight: -4
|
||||
region: content
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
@ -0,0 +1,37 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.activity.self_assessment.field_how_is_your_housing_situat
|
||||
- field.field.activity.self_assessment.field_how_is_your_mental_health_
|
||||
- field.field.activity.self_assessment.field_how_is_your_physical_healt
|
||||
- zencrm_entities.activity_type.self_assessment
|
||||
module:
|
||||
- options
|
||||
id: activity.self_assessment.default
|
||||
targetEntityType: activity
|
||||
bundle: self_assessment
|
||||
mode: default
|
||||
content:
|
||||
field_how_is_your_housing_situat:
|
||||
weight: -1
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: list_default
|
||||
region: content
|
||||
field_how_is_your_mental_health_:
|
||||
weight: -2
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: list_default
|
||||
region: content
|
||||
field_how_is_your_physical_healt:
|
||||
weight: -3
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: list_default
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,26 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.activity.field_file
|
||||
- zencrm_entities.activity_type.case_note
|
||||
module:
|
||||
- file
|
||||
id: activity.case_note.field_file
|
||||
field_name: field_file
|
||||
entity_type: activity
|
||||
bundle: case_note
|
||||
label: Files
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||
file_extensions: 'txt jpg rtf doc png pdf'
|
||||
max_filesize: ''
|
||||
description_field: false
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
field_type: file
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.activity.field_notes
|
||||
- zencrm_entities.activity_type.case_note
|
||||
id: activity.case_note.field_notes
|
||||
field_name: field_notes
|
||||
entity_type: activity
|
||||
bundle: case_note
|
||||
label: Notes
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string_long
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.activity.field_how_is_your_housing_situat
|
||||
- zencrm_entities.activity_type.self_assessment
|
||||
module:
|
||||
- options
|
||||
id: activity.self_assessment.field_how_is_your_housing_situat
|
||||
field_name: field_how_is_your_housing_situat
|
||||
entity_type: activity
|
||||
bundle: self_assessment
|
||||
label: 'How is your housing situation?'
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: list_string
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.activity.field_how_is_your_mental_health_
|
||||
- zencrm_entities.activity_type.self_assessment
|
||||
module:
|
||||
- options
|
||||
id: activity.self_assessment.field_how_is_your_mental_health_
|
||||
field_name: field_how_is_your_mental_health_
|
||||
entity_type: activity
|
||||
bundle: self_assessment
|
||||
label: 'How is your mental health?'
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: list_string
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.activity.field_how_is_your_physical_healt
|
||||
- zencrm_entities.activity_type.self_assessment
|
||||
module:
|
||||
- options
|
||||
id: activity.self_assessment.field_how_is_your_physical_healt
|
||||
field_name: field_how_is_your_physical_healt
|
||||
entity_type: activity
|
||||
bundle: self_assessment
|
||||
label: 'How is your physical health?'
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: list_string
|
@ -0,0 +1,22 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- file
|
||||
- zencrm_entities
|
||||
id: activity.field_file
|
||||
field_name: field_file
|
||||
entity_type: activity
|
||||
type: file
|
||||
settings:
|
||||
display_field: false
|
||||
display_default: false
|
||||
uri_scheme: private
|
||||
target_type: file
|
||||
module: file
|
||||
locked: false
|
||||
cardinality: -1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,35 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- options
|
||||
- zencrm_entities
|
||||
id: activity.field_how_is_your_housing_situat
|
||||
field_name: field_how_is_your_housing_situat
|
||||
entity_type: activity
|
||||
type: list_string
|
||||
settings:
|
||||
allowed_values:
|
||||
-
|
||||
value: Excellent
|
||||
label: Excellent
|
||||
-
|
||||
value: Good
|
||||
label: Good
|
||||
-
|
||||
value: OK
|
||||
label: OK
|
||||
-
|
||||
value: Bad
|
||||
label: Bad
|
||||
-
|
||||
value: Terrible
|
||||
label: Terrible
|
||||
allowed_values_function: ''
|
||||
module: options
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,35 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- options
|
||||
- zencrm_entities
|
||||
id: activity.field_how_is_your_mental_health_
|
||||
field_name: field_how_is_your_mental_health_
|
||||
entity_type: activity
|
||||
type: list_string
|
||||
settings:
|
||||
allowed_values:
|
||||
-
|
||||
value: Excellent
|
||||
label: Excellent
|
||||
-
|
||||
value: Good
|
||||
label: Good
|
||||
-
|
||||
value: OK
|
||||
label: OK
|
||||
-
|
||||
value: Bad
|
||||
label: Bad
|
||||
-
|
||||
value: Terrible
|
||||
label: Terrible
|
||||
allowed_values_function: ''
|
||||
module: options
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,35 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- options
|
||||
- zencrm_entities
|
||||
id: activity.field_how_is_your_physical_healt
|
||||
field_name: field_how_is_your_physical_healt
|
||||
entity_type: activity
|
||||
type: list_string
|
||||
settings:
|
||||
allowed_values:
|
||||
-
|
||||
value: Excellent
|
||||
label: Excellent
|
||||
-
|
||||
value: Good
|
||||
label: Good
|
||||
-
|
||||
value: OK
|
||||
label: OK
|
||||
-
|
||||
value: Bad
|
||||
label: Bad
|
||||
-
|
||||
value: Terrible
|
||||
label: Terrible
|
||||
allowed_values_function: ''
|
||||
module: options
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- zencrm_entities
|
||||
id: activity.field_notes
|
||||
field_name: field_notes
|
||||
entity_type: activity
|
||||
type: string_long
|
||||
settings:
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,5 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: case_note
|
||||
label: 'Case Note'
|
@ -0,0 +1,5 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: self_assessment
|
||||
label: Self-assessment
|
@ -0,0 +1,6 @@
|
||||
bundle: opencase_default_subtypes
|
||||
excluded:
|
||||
- block.block.views_block__single_case_with_activities_block_1
|
||||
- block.block.views_block__this_person_s_contact_details_block_1
|
||||
- block.block.views_block__this_person_s_hats_block_1
|
||||
required: true
|
@ -0,0 +1,12 @@
|
||||
name: 'Activity Subtypes'
|
||||
type: module
|
||||
core: 8.x
|
||||
dependencies:
|
||||
- block
|
||||
- field
|
||||
- file
|
||||
- options
|
||||
- system
|
||||
- views
|
||||
- zencrm_entities
|
||||
package: 'OpenCase Default Subtypes'
|
@ -0,0 +1,29 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.case_entity.asylum.field_asyl
|
||||
- field.field.case_entity.asylum.field_home_offi
|
||||
- zencrm_entities.case_entity_type.asylum
|
||||
id: case_entity.asylum.default
|
||||
targetEntityType: case_entity
|
||||
bundle: asylum
|
||||
mode: default
|
||||
content:
|
||||
field_asyl:
|
||||
weight: 6
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textfield
|
||||
region: content
|
||||
field_home_offi:
|
||||
weight: 7
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textfield
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- zencrm_entities.case_entity_type.housing
|
||||
id: case_entity.housing.default
|
||||
targetEntityType: case_entity
|
||||
bundle: housing
|
||||
mode: default
|
||||
content:
|
||||
user_id:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 5
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- zencrm_entities.case_entity_type.volunteer_recruitment
|
||||
id: case_entity.volunteer_recruitment.default
|
||||
targetEntityType: case_entity
|
||||
bundle: volunteer_recruitment
|
||||
mode: default
|
||||
content:
|
||||
user_id:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 5
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
@ -0,0 +1,29 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.hat.client.field_country
|
||||
- field.field.hat.client.field_language
|
||||
- zencrm_entities.hat_type.client
|
||||
id: hat.client.default
|
||||
targetEntityType: hat
|
||||
bundle: client
|
||||
mode: default
|
||||
content:
|
||||
field_country:
|
||||
weight: 3
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textfield
|
||||
region: content
|
||||
field_language:
|
||||
weight: 4
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textfield
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,38 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.hat.volunteer.field_availability
|
||||
- field.field.hat.volunteer.field_date_started
|
||||
- field.field.hat.volunteer.field_team
|
||||
- zencrm_entities.hat_type.volunteer
|
||||
module:
|
||||
- datetime
|
||||
id: hat.volunteer.default
|
||||
targetEntityType: hat
|
||||
bundle: volunteer
|
||||
mode: default
|
||||
content:
|
||||
field_availability:
|
||||
weight: 6
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textarea
|
||||
region: content
|
||||
field_date_started:
|
||||
weight: 5
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_team:
|
||||
weight: 4
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textfield
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,29 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.case_entity.asylum.field_asyl
|
||||
- field.field.case_entity.asylum.field_home_offi
|
||||
- zencrm_entities.case_entity_type.asylum
|
||||
id: case_entity.asylum.default
|
||||
targetEntityType: case_entity
|
||||
bundle: asylum
|
||||
mode: default
|
||||
content:
|
||||
field_asyl:
|
||||
weight: 1
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
type: string
|
||||
region: content
|
||||
field_home_offi:
|
||||
weight: 2
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
type: string
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,26 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- zencrm_entities.case_entity_type.housing
|
||||
id: case_entity.housing.default
|
||||
targetEntityType: case_entity
|
||||
bundle: housing
|
||||
mode: default
|
||||
content:
|
||||
name:
|
||||
label: above
|
||||
type: string
|
||||
weight: -4
|
||||
region: content
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
user_id:
|
||||
label: hidden
|
||||
type: author
|
||||
weight: 0
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
@ -0,0 +1,26 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- zencrm_entities.case_entity_type.volunteer_recruitment
|
||||
id: case_entity.volunteer_recruitment.default
|
||||
targetEntityType: case_entity
|
||||
bundle: volunteer_recruitment
|
||||
mode: default
|
||||
content:
|
||||
name:
|
||||
label: above
|
||||
type: string
|
||||
weight: -4
|
||||
region: content
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
user_id:
|
||||
label: hidden
|
||||
type: author
|
||||
weight: 0
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
@ -0,0 +1,29 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.hat.client.field_country
|
||||
- field.field.hat.client.field_language
|
||||
- zencrm_entities.hat_type.client
|
||||
id: hat.client.default
|
||||
targetEntityType: hat
|
||||
bundle: client
|
||||
mode: default
|
||||
content:
|
||||
field_country:
|
||||
weight: 1
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
type: string
|
||||
region: content
|
||||
field_language:
|
||||
weight: 2
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
type: string
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,40 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.hat.volunteer.field_availability
|
||||
- field.field.hat.volunteer.field_date_started
|
||||
- field.field.hat.volunteer.field_team
|
||||
- zencrm_entities.hat_type.volunteer
|
||||
module:
|
||||
- datetime
|
||||
id: hat.volunteer.default
|
||||
targetEntityType: hat
|
||||
bundle: volunteer
|
||||
mode: default
|
||||
content:
|
||||
field_availability:
|
||||
weight: 104
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: basic_string
|
||||
region: content
|
||||
field_date_started:
|
||||
weight: 103
|
||||
label: above
|
||||
settings:
|
||||
format_type: medium
|
||||
timezone_override: ''
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_team:
|
||||
weight: 102
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
type: string
|
||||
region: content
|
||||
hidden: { }
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.case_entity.field_asyl
|
||||
- zencrm_entities.case_entity_type.asylum
|
||||
id: case_entity.asylum.field_asyl
|
||||
field_name: field_asyl
|
||||
entity_type: case_entity
|
||||
bundle: asylum
|
||||
label: 'Asylum status when taken on'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.case_entity.field_home_offi
|
||||
- zencrm_entities.case_entity_type.asylum
|
||||
id: case_entity.asylum.field_home_offi
|
||||
field_name: field_home_offi
|
||||
entity_type: case_entity
|
||||
bundle: asylum
|
||||
label: 'Home Office Number'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.hat.field_country
|
||||
- zencrm_entities.hat_type.client
|
||||
id: hat.client.field_country
|
||||
field_name: field_country
|
||||
entity_type: hat
|
||||
bundle: client
|
||||
label: 'Country of Origin'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.hat.field_language
|
||||
- zencrm_entities.hat_type.client
|
||||
id: hat.client.field_language
|
||||
field_name: field_language
|
||||
entity_type: hat
|
||||
bundle: client
|
||||
label: Language
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.hat.field_availability
|
||||
- zencrm_entities.hat_type.volunteer
|
||||
id: hat.volunteer.field_availability
|
||||
field_name: field_availability
|
||||
entity_type: hat
|
||||
bundle: volunteer
|
||||
label: Availability
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string_long
|
@ -0,0 +1,23 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.hat.field_date_started
|
||||
- zencrm_entities.hat_type.volunteer
|
||||
module:
|
||||
- datetime
|
||||
id: hat.volunteer.field_date_started
|
||||
field_name: field_date_started
|
||||
entity_type: hat
|
||||
bundle: volunteer
|
||||
label: 'Date Started'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value:
|
||||
-
|
||||
default_date_type: now
|
||||
default_date: now
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: datetime
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.hat.field_team
|
||||
- zencrm_entities.hat_type.volunteer
|
||||
id: hat.volunteer.field_team
|
||||
field_name: field_team
|
||||
entity_type: hat
|
||||
bundle: volunteer
|
||||
label: Team
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- zencrm_entities
|
||||
id: case_entity.field_asyl
|
||||
field_name: field_asyl
|
||||
entity_type: case_entity
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- zencrm_entities
|
||||
id: case_entity.field_home_offi
|
||||
field_name: field_home_offi
|
||||
entity_type: case_entity
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,18 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- zencrm_entities
|
||||
id: hat.field_availability
|
||||
field_name: field_availability
|
||||
entity_type: hat
|
||||
type: string_long
|
||||
settings:
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- zencrm_entities
|
||||
id: hat.field_country
|
||||
field_name: field_country
|
||||
entity_type: hat
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,19 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- datetime
|
||||
- zencrm_entities
|
||||
id: hat.field_date_started
|
||||
field_name: field_date_started
|
||||
entity_type: hat
|
||||
type: datetime
|
||||
settings:
|
||||
datetime_type: date
|
||||
module: datetime
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- zencrm_entities
|
||||
id: hat.field_language
|
||||
field_name: field_language
|
||||
entity_type: hat
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,20 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- zencrm_entities
|
||||
id: hat.field_team
|
||||
field_name: field_team
|
||||
entity_type: hat
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -0,0 +1,5 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: asylum
|
||||
label: Asylum
|
@ -0,0 +1,5 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: housing
|
||||
label: Housing
|
@ -0,0 +1,5 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: volunteer_recruitment
|
||||
label: 'Volunteer recruitment'
|
@ -0,0 +1,5 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: client
|
||||
label: Client
|
@ -0,0 +1,5 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: volunteer
|
||||
label: Volunteer
|
@ -0,0 +1,6 @@
|
||||
bundle: opencase_default_subtypes
|
||||
excluded:
|
||||
- block.block.views_block__single_case_with_activities_block_1
|
||||
- block.block.views_block__this_person_s_contact_details_block_1
|
||||
- block.block.views_block__this_person_s_hats_block_1
|
||||
required: true
|
@ -0,0 +1,11 @@
|
||||
name: 'Hat Subtypes'
|
||||
type: module
|
||||
core: 8.x
|
||||
dependencies:
|
||||
- block
|
||||
- datetime
|
||||
- field
|
||||
- system
|
||||
- views
|
||||
- zencrm_entities
|
||||
package: 'OpenCase Default Subtypes'
|
Reference in New Issue
Block a user