Added config for "skills" field on volunteer.

This commit is contained in:
Naomi 2018-09-19 09:15:19 +01:00
parent b5f718647e
commit 9424aca1e9
4 changed files with 56 additions and 52 deletions

View File

@ -5,6 +5,7 @@ dependencies:
- field.field.oc_actor.volunteer.field_languages_spoken
- field.field.oc_actor.volunteer.field_nationality
- field.field.oc_actor.volunteer.field_osic_level
- field.field.oc_actor.volunteer.field_skills
- opencase_entities.oc_actor_type.volunteer
id: oc_actor.volunteer.default
targetEntityType: oc_actor
@ -12,13 +13,13 @@ bundle: volunteer
mode: default
content:
field_languages_spoken:
weight: 28
weight: 1
settings: { }
third_party_settings: { }
type: options_select
region: content
field_nationality:
weight: 27
weight: 0
settings:
size: 60
placeholder: ''
@ -26,58 +27,17 @@ content:
type: string_textfield
region: content
field_osic_level:
weight: 29
weight: 2
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
field_skills:
type: string_textarea
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

@ -5,6 +5,7 @@ dependencies:
- field.field.oc_actor.volunteer.field_languages_spoken
- field.field.oc_actor.volunteer.field_nationality
- field.field.oc_actor.volunteer.field_osic_level
- field.field.oc_actor.volunteer.field_skills
- opencase_entities.oc_actor_type.volunteer
module:
- options
@ -15,14 +16,14 @@ bundle: volunteer
mode: default
content:
field_languages_spoken:
weight: 8
weight: 4
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_nationality:
weight: 7
weight: 3
label: above
settings:
link_to_entity: false
@ -30,7 +31,7 @@ content:
type: string
region: content
field_osic_level:
weight: 9
weight: 5
label: above
settings: { }
third_party_settings: { }
@ -43,6 +44,13 @@ content:
third_party_settings: { }
type: text_default
region: content
field_skills:
type: basic_string
weight: 6
region: content
label: above
settings: { }
third_party_settings: { }
name:
label: above
type: string
@ -54,7 +62,7 @@ content:
phone:
label: above
type: string
weight: 2
weight: 0
region: content
settings:
link_to_entity: false
@ -62,7 +70,7 @@ content:
phone2:
label: above
type: string
weight: 3
weight: 1
region: content
settings:
link_to_entity: false
@ -70,7 +78,7 @@ content:
postal_address:
label: above
type: basic_string
weight: 5
weight: 2
region: content
settings: { }
third_party_settings: { }

View File

@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
config:
- field.storage.oc_actor.field_skills
- opencase_entities.oc_actor_type.volunteer
id: oc_actor.volunteer.field_skills
field_name: field_skills
entity_type: oc_actor
bundle: volunteer
label: Skills
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long

View File

@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
module:
- opencase_entities
id: oc_actor.field_skills
field_name: field_skills
entity_type: oc_actor
type: string_long
settings:
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false