145 Up to 3 photos on debrief (also removed "photo caption" field and have enabled title on each photo instead)

This commit is contained in:
naomi 2021-11-16 06:22:42 +00:00
parent cea619311d
commit 7fe72a46e5
6 changed files with 5 additions and 64 deletions

View File

@ -6,7 +6,6 @@ dependencies:
- field.field.oc_activity.trainer_debrief.field_issues_and_difficulties
- field.field.oc_activity.trainer_debrief.field_issues_with_group_dynamics
- field.field.oc_activity.trainer_debrief.field_number_of_participants
- field.field.oc_activity.trainer_debrief.field_ph
- field.field.oc_activity.trainer_debrief.field_photo
- field.field.oc_activity.trainer_debrief.field_trainer
- field.field.oc_activity.trainer_debrief.field_what_came_up_for_the_group
@ -52,14 +51,6 @@ content:
third_party_settings: { }
type: number
region: content
field_ph:
weight: 10
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_photo:
weight: 9
settings:

View File

@ -6,7 +6,6 @@ dependencies:
- field.field.oc_activity.trainer_debrief.field_issues_and_difficulties
- field.field.oc_activity.trainer_debrief.field_issues_with_group_dynamics
- field.field.oc_activity.trainer_debrief.field_number_of_participants
- field.field.oc_activity.trainer_debrief.field_ph
- field.field.oc_activity.trainer_debrief.field_photo
- field.field.oc_activity.trainer_debrief.field_trainer
- field.field.oc_activity.trainer_debrief.field_what_came_up_for_the_group
@ -55,13 +54,6 @@ content:
third_party_settings: { }
type: number_integer
region: content
field_ph:
weight: 11
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: content
field_photo:
weight: 10
label: above

View File

@ -1,19 +0,0 @@
uuid: 1b77fbc2-7db0-4e24-99d2-ff8f669e302c
langcode: en
status: true
dependencies:
config:
- field.storage.oc_activity.field_ph
- opencase_entities.oc_activity_type.trainer_debrief
id: oc_activity.trainer_debrief.field_ph
field_name: field_ph
entity_type: oc_activity
bundle: trainer_debrief
label: 'Photo caption'
description: 'If this was an in person session, we will share a photo (if you took one!) from this session on our social media. Please sum it up in a positive light if you can from your trainer perspective and we will use this for the caption'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long

View File

@ -23,10 +23,10 @@ settings:
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
alt_field: false
alt_field_required: false
title_field: true
title_field_required: true
default_image:
uuid: ''
alt: ''

View File

@ -1,23 +0,0 @@
uuid: 607c058a-e271-4e4e-a0f4-cd9f2dec5209
langcode: en
status: true
dependencies:
module:
- field_permissions
- opencase_entities
third_party_settings:
field_permissions:
permission_type: public
id: oc_activity.field_ph
field_name: field_ph
entity_type: oc_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

View File

@ -27,7 +27,7 @@ settings:
display_default: false
module: image
locked: false
cardinality: 1
cardinality: 3
translatable: true
indexes: { }
persist_with_no_fields: false