Added "sex" field. Optionally change config:
- Add to form and view display for client (optional)
This commit is contained in:
parent
150cc6cfd1
commit
fd47bee26a
@ -9,13 +9,13 @@ dependencies:
|
|||||||
- field.field.oc_actor.client.field_disability
|
- field.field.oc_actor.client.field_disability
|
||||||
- field.field.oc_actor.client.field_ethnic_o
|
- field.field.oc_actor.client.field_ethnic_o
|
||||||
- field.field.oc_actor.client.field_gender_identified_with
|
- field.field.oc_actor.client.field_gender_identified_with
|
||||||
- field.field.oc_actor.client.field_general_noes
|
|
||||||
- field.field.oc_actor.client.field_how_heard
|
- field.field.oc_actor.client.field_how_heard
|
||||||
- field.field.oc_actor.client.field_income
|
- field.field.oc_actor.client.field_income
|
||||||
- field.field.oc_actor.client.field_languages_spoken
|
- field.field.oc_actor.client.field_languages_spoken
|
||||||
- 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
|
||||||
@ -26,7 +26,7 @@ bundle: client
|
|||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
field_asylum_status:
|
field_asylum_status:
|
||||||
weight: 6
|
weight: 4
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
@ -40,27 +40,19 @@ content:
|
|||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
field_confidentiality_form:
|
field_confidentiality_form:
|
||||||
weight: 15
|
weight: 13
|
||||||
settings:
|
settings:
|
||||||
progress_indicator: throbber
|
progress_indicator: throbber
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: file_generic
|
type: file_generic
|
||||||
region: content
|
region: content
|
||||||
field_date_of_birth:
|
field_date_of_birth:
|
||||||
weight: 3
|
weight: 0
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
field_dependants:
|
field_dependants:
|
||||||
weight: 12
|
|
||||||
settings:
|
|
||||||
size: 60
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
type: string_textfield
|
|
||||||
region: content
|
|
||||||
field_disability:
|
|
||||||
weight: 10
|
weight: 10
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
@ -68,8 +60,16 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
|
field_disability:
|
||||||
|
weight: 8
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string_textfield
|
||||||
|
region: content
|
||||||
field_ethnic_o:
|
field_ethnic_o:
|
||||||
weight: 7
|
weight: 5
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
@ -77,57 +77,55 @@ content:
|
|||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
field_gender_identified_with:
|
field_gender_identified_with:
|
||||||
weight: 4
|
weight: 1
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
field_general_noes:
|
|
||||||
weight: 27
|
|
||||||
settings:
|
|
||||||
rows: 5
|
|
||||||
placeholder: ''
|
|
||||||
third_party_settings: { }
|
|
||||||
type: string_textarea
|
|
||||||
region: content
|
|
||||||
field_how_heard:
|
field_how_heard:
|
||||||
weight: 13
|
|
||||||
settings: { }
|
|
||||||
third_party_settings: { }
|
|
||||||
type: options_select
|
|
||||||
region: content
|
|
||||||
field_income:
|
|
||||||
weight: 11
|
weight: 11
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
field_languages_spoken:
|
field_income:
|
||||||
weight: 9
|
weight: 9
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
|
field_languages_spoken:
|
||||||
|
weight: 7
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
field_marital_:
|
field_marital_:
|
||||||
weight: 5
|
weight: 3
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
field_nationalities:
|
field_nationalities:
|
||||||
weight: 8
|
type: options_select
|
||||||
|
weight: 6
|
||||||
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
|
||||||
region: content
|
|
||||||
field_referred_by:
|
field_referred_by:
|
||||||
weight: 14
|
weight: 12
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
|
field_sex:
|
||||||
|
weight: 2
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: options_select
|
||||||
|
region: content
|
||||||
name:
|
name:
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
weight: -4
|
weight: -4
|
||||||
@ -136,30 +134,6 @@ content:
|
|||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
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:
|
user_id:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 5
|
weight: 5
|
||||||
|
@ -0,0 +1,20 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_actor.field_sex
|
||||||
|
- opencase_entities.oc_actor_type.client
|
||||||
|
module:
|
||||||
|
- options
|
||||||
|
id: oc_actor.client.field_sex
|
||||||
|
field_name: field_sex
|
||||||
|
entity_type: oc_actor
|
||||||
|
bundle: client
|
||||||
|
label: Sex
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: list_string
|
@ -0,0 +1,26 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- opencase_entities
|
||||||
|
- options
|
||||||
|
id: oc_actor.field_sex
|
||||||
|
field_name: field_sex
|
||||||
|
entity_type: oc_actor
|
||||||
|
type: list_string
|
||||||
|
settings:
|
||||||
|
allowed_values:
|
||||||
|
-
|
||||||
|
value: Male
|
||||||
|
label: Male
|
||||||
|
-
|
||||||
|
value: Female
|
||||||
|
label: Female
|
||||||
|
allowed_values_function: ''
|
||||||
|
module: options
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
Reference in New Issue
Block a user