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

View File

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