Added configs (didn't do that last commit)

This commit is contained in:
naomi 2018-07-18 20:15:57 +02:00
parent c0c415e691
commit e588a70a1b
10 changed files with 645 additions and 0 deletions

View File

@ -0,0 +1,165 @@
langcode: en
status: true
dependencies:
config:
- field.field.oc_actor.client.field_asylum_status
- field.field.oc_actor.client.field_confidentiality_form
- field.field.oc_actor.client.field_date_of_birth
- field.field.oc_actor.client.field_dependants
- field.field.oc_actor.client.field_disability
- field.field.oc_actor.client.field_ethnic_o
- field.field.oc_actor.client.field_gender_identified_with
- field.field.oc_actor.client.field_how_heard
- field.field.oc_actor.client.field_income
- field.field.oc_actor.client.field_languages_spoken
- field.field.oc_actor.client.field_marital_
- field.field.oc_actor.client.field_nationality
- field.field.oc_actor.client.field_referred_by
- opencase_entities.oc_actor_type.client
module:
- datetime
- file
id: oc_actor.client.default
targetEntityType: oc_actor
bundle: client
mode: default
content:
field_asylum_status:
weight: 6
settings: { }
third_party_settings: { }
type: options_select
region: content
field_client_field_1:
weight: 26
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_confidentiality_form:
weight: 15
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_date_of_birth:
weight: 3
settings: { }
third_party_settings: { }
type: datetime_default
region: content
field_dependants:
weight: 12
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_disability:
weight: 10
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_ethnic_o:
weight: 7
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_gender_identified_with:
weight: 4
settings: { }
third_party_settings: { }
type: options_select
region: content
field_how_heard:
weight: 13
settings: { }
third_party_settings: { }
type: options_select
region: content
field_income:
weight: 11
settings: { }
third_party_settings: { }
type: options_select
region: content
field_languages_spoken:
weight: 9
settings: { }
third_party_settings: { }
type: options_select
region: content
field_marital_:
weight: 5
settings: { }
third_party_settings: { }
type: options_select
region: content
field_nationality:
weight: 8
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_referred_by:
weight: 14
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
name:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
phone:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
phone2:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
postal_address:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
user_id:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden: { }

View File

@ -0,0 +1,83 @@
langcode: en
status: true
dependencies:
config:
- field.field.oc_actor.volunteer.field_languages_spoken
- field.field.oc_actor.volunteer.field_nationality
- field.field.oc_actor.volunteer.field_osic_level
- opencase_entities.oc_actor_type.volunteer
id: oc_actor.volunteer.default
targetEntityType: oc_actor
bundle: volunteer
mode: default
content:
field_languages_spoken:
weight: 28
settings: { }
third_party_settings: { }
type: options_select
region: content
field_nationality:
weight: 27
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield
region: content
field_osic_level:
weight: 29
settings: { }
third_party_settings: { }
type: options_select
region: content
field_sdfdsfds:
weight: 26
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
name:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
phone:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
phone2:
type: string_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
postal_address:
type: string_textarea
weight: 5
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
user_id:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden: { }

View File

@ -0,0 +1,167 @@
langcode: en
status: true
dependencies:
config:
- field.field.oc_actor.client.field_asylum_status
- field.field.oc_actor.client.field_confidentiality_form
- field.field.oc_actor.client.field_date_of_birth
- field.field.oc_actor.client.field_dependants
- field.field.oc_actor.client.field_disability
- field.field.oc_actor.client.field_ethnic_o
- field.field.oc_actor.client.field_gender_identified_with
- field.field.oc_actor.client.field_how_heard
- field.field.oc_actor.client.field_income
- field.field.oc_actor.client.field_languages_spoken
- field.field.oc_actor.client.field_marital_
- field.field.oc_actor.client.field_nationality
- field.field.oc_actor.client.field_referred_by
- opencase_entities.oc_actor_type.client
module:
- datetime
- file
- options
- user
id: oc_actor.client.default
targetEntityType: oc_actor
bundle: client
mode: default
content:
field_asylum_status:
weight: 6
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_client_field_1:
weight: 1
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_confidentiality_form:
weight: 15
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
type: file_default
region: content
field_date_of_birth:
weight: 3
label: above
settings:
format_type: medium
timezone_override: ''
third_party_settings: { }
type: datetime_default
region: content
field_dependants:
weight: 12
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_disability:
weight: 10
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_ethnic_o:
weight: 7
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_gender_identified_with:
weight: 4
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_how_heard:
weight: 13
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_income:
weight: 11
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_languages_spoken:
weight: 9
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_marital_:
weight: 5
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_nationality:
weight: 8
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_referred_by:
weight: 14
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
name:
label: above
type: string
weight: -4
region: content
settings:
link_to_entity: false
third_party_settings: { }
phone:
label: above
type: string
weight: 0
region: content
settings:
link_to_entity: false
third_party_settings: { }
phone2:
label: above
type: string
weight: 1
region: content
settings:
link_to_entity: false
third_party_settings: { }
postal_address:
label: above
type: basic_string
weight: 2
region: content
settings: { }
third_party_settings: { }
hidden: { }

View File

@ -0,0 +1,77 @@
langcode: en
status: true
dependencies:
config:
- field.field.oc_actor.volunteer.field_languages_spoken
- field.field.oc_actor.volunteer.field_nationality
- field.field.oc_actor.volunteer.field_osic_level
- opencase_entities.oc_actor_type.volunteer
module:
- options
- user
id: oc_actor.volunteer.default
targetEntityType: oc_actor
bundle: volunteer
mode: default
content:
field_languages_spoken:
weight: 8
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_nationality:
weight: 7
label: above
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_osic_level:
weight: 9
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_sdfdsfds:
weight: 1
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
name:
label: above
type: string
weight: -4
region: content
settings:
link_to_entity: false
third_party_settings: { }
phone:
label: above
type: string
weight: 2
region: content
settings:
link_to_entity: false
third_party_settings: { }
phone2:
label: above
type: string
weight: 3
region: content
settings:
link_to_entity: false
third_party_settings: { }
postal_address:
label: above
type: basic_string
weight: 5
region: content
settings: { }
third_party_settings: { }
hidden: { }

View File

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_languages_spoken
- opencase_entities.oc_actor_type.client
module:
- options
id: oc_actor.client.field_languages_spoken
field_name: field_languages_spoken
entity_type: oc_actor
bundle: client
label: 'Languages spoken'
description: 'Hold down <b>Ctrl</b> (or the Mac equivalent) while clicking, and you can select more than one.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_languages_spoken
- opencase_entities.oc_actor_type.volunteer
module:
- options
id: oc_actor.volunteer.field_languages_spoken
field_name: field_languages_spoken
entity_type: oc_actor
bundle: volunteer
label: 'Languages spoken'
description: 'Hold down <b>Ctrl</b> (or the Mac equivalent) while clicking, and you can select more than one.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_osic_level
- opencase_entities.oc_actor_type.volunteer
module:
- options
id: oc_actor.volunteer.field_osic_level
field_name: field_osic_level
entity_type: oc_actor
bundle: volunteer
label: 'OSIC level'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -0,0 +1,26 @@
langcode: en
status: true
dependencies:
module:
- opencase_entities
- options
id: oc_actor.field_asylum_status
field_name: field_asylum_status
entity_type: oc_actor
type: list_string
settings:
allowed_values:
-
value: Refused
label: Refused
-
value: 'Leave to remain'
label: 'Leave to remain'
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,35 @@
langcode: en
status: true
dependencies:
module:
- opencase_entities
- options
id: oc_actor.field_languages_spoken
field_name: field_languages_spoken
entity_type: oc_actor
type: list_string
settings:
allowed_values:
-
value: English
label: English
-
value: French
label: French
-
value: Arabic
label: Arabic
-
value: Kurdish
label: Kurdish
-
value: Farsi
label: Farsi
allowed_values_function: ''
module: options
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,32 @@
langcode: en
status: true
dependencies:
module:
- opencase_entities
- options
id: oc_actor.field_osic_level
field_name: field_osic_level
entity_type: oc_actor
type: list_string
settings:
allowed_values:
-
value: 'Under supervision'
label: 'Under supervision'
-
value: 'Level 1'
label: 'Level 1'
-
value: 'Level 2'
label: 'Level 2'
-
value: 'Level 3'
label: 'Level 3'
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false