Skip to content

Commit

Permalink
VACMS-14704: Adding service location fields (#15599)
Browse files Browse the repository at this point in the history
* VACMS:14704: Adding service modalities

* VACMS-14704: Adds vocabulary

* VACMS-14704: Adds free-text fields.

* VACMS-14704: Update langage around service delivery

* VACMS-14704: Updates taxonomy label and description
  • Loading branch information
omahane committed Jan 24, 2024
1 parent beb8529 commit a0d7a5b
Show file tree
Hide file tree
Showing 8 changed files with 219 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ dependencies:
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_office_hours
- field.field.paragraph.service_location.field_phone
- field.field.paragraph.service_location.field_service_delivery_options
- field.field.paragraph.service_location.field_service_location_address
- field.field.paragraph.service_location.field_service_location_descripti
- field.field.paragraph.service_location.field_task_oriented_header
- field.field.paragraph.service_location.field_use_main_facility_phone
- paragraphs.paragraphs_type.service_location
module:
- change_labels
- entity_browser_entity_form
- field_group
- ief_table_view_mode
Expand All @@ -28,7 +32,7 @@ third_party_settings:
label: Hours
region: content
parent_name: ''
weight: 1
weight: 4
format_type: details
format_settings:
classes: ''
Expand All @@ -42,7 +46,7 @@ third_party_settings:
label: Address
region: content
parent_name: ''
weight: 0
weight: 3
format_type: details
format_settings:
classes: ''
Expand All @@ -57,7 +61,7 @@ third_party_settings:
label: 'Contact info'
region: content
parent_name: ''
weight: 2
weight: 5
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -123,6 +127,7 @@ content:
collapsible: false
collapsed: false
revision: false
removed_reference: optional
allow_system_delete: false
third_party_settings:
entity_browser_entity_form:
Expand All @@ -137,7 +142,8 @@ content:
type: office_hours_default
weight: 1
region: content
settings: { }
settings:
collapsed: false
third_party_settings:
limited_field_widgets:
limit_values: '0'
Expand All @@ -157,10 +163,21 @@ content:
collapsible: false
collapsed: false
revision: false
removed_reference: optional
allow_system_delete: false
third_party_settings:
entity_browser_entity_form:
entity_browser_id: _none
field_service_delivery_options:
type: options_buttons
weight: 2
region: content
settings: { }
third_party_settings:
limited_field_widgets:
limit_values: '0'
change_labels:
add_another: ''
field_service_location_address:
type: paragraphs
weight: 25
Expand All @@ -180,6 +197,22 @@ content:
collapse_edit_all: '0'
duplicate: '0'
third_party_settings: { }
field_service_location_descripti:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_task_oriented_header:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_use_main_facility_phone:
type: boolean_checkbox
weight: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ dependencies:
- field.field.paragraph.service_location.field_hours
- field.field.paragraph.service_location.field_office_hours
- field.field.paragraph.service_location.field_phone
- field.field.paragraph.service_location.field_service_delivery_options
- field.field.paragraph.service_location.field_service_location_address
- field.field.paragraph.service_location.field_service_location_descripti
- field.field.paragraph.service_location.field_task_oriented_header
- field.field.paragraph.service_location.field_use_main_facility_phone
- paragraphs.paragraphs_type.service_location
module:
Expand All @@ -26,7 +29,7 @@ third_party_settings:
label: Hours
parent_name: group_service_location
region: content
weight: 2
weight: 8
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -41,7 +44,7 @@ third_party_settings:
label: 'Contact info'
parent_name: group_service_location
region: content
weight: 3
weight: 9
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -54,7 +57,7 @@ third_party_settings:
label: Address
parent_name: group_service_location
region: content
weight: 1
weight: 7
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -63,6 +66,9 @@ third_party_settings:
open: true
group_service_location:
children:
- field_task_oriented_header
- field_service_location_descripti
- field_service_delivery_options
- group_address
- group_hours
- group_contact_info
Expand Down Expand Up @@ -146,6 +152,14 @@ content:
third_party_settings: { }
weight: 4
region: content
field_service_delivery_options:
type: entity_reference_label
label: above
settings:
link: false
third_party_settings: { }
weight: 6
region: content
field_service_location_address:
type: entity_reference_revisions_entity_view
label: visually_hidden
Expand All @@ -155,6 +169,22 @@ content:
third_party_settings: { }
weight: 7
region: content
field_service_location_descripti:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 5
region: content
field_task_oriented_header:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
region: content
field_use_main_facility_phone:
type: boolean
label: above
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
uuid: e8753699-64d0-4ece-b01d-53d60acb26cc
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_service_delivery_options
- paragraphs.paragraphs_type.service_location
- taxonomy.vocabulary.service_delivery_options
module:
- entity_reference_validators
- tmgmt_content
third_party_settings:
entity_reference_validators:
circular_reference: false
circular_reference_deep: false
duplicate_reference: false
tmgmt_content:
excluded: false
id: paragraph.service_location.field_service_delivery_options
field_name: field_service_delivery_options
entity_type: paragraph
bundle: service_location
label: 'Service delivery options'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
service_delivery_options: service_delivery_options
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: b1137b98-b583-41ec-ae1c-d9055e027fa8
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_service_location_descripti
- paragraphs.paragraphs_type.service_location
module:
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: paragraph.service_location.field_service_location_descripti
field_name: field_service_location_descripti
entity_type: paragraph
bundle: service_location
label: 'Service location description'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: 0c22f499-e717-4540-94d5-b4344cdecf7b
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_task_oriented_header
- paragraphs.paragraphs_type.service_location
module:
- tmgmt_content
third_party_settings:
tmgmt_content:
excluded: false
id: paragraph.service_location.field_task_oriented_header
field_name: field_task_oriented_header
entity_type: paragraph
bundle: service_location
label: 'Task-oriented descriptive header'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 88e99263-1551-4f7b-97a6-e92e48525c5b
langcode: en
status: true
dependencies:
module:
- paragraphs
- taxonomy
id: paragraph.field_service_delivery_options
field_name: field_service_delivery_options
entity_type: paragraph
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 08189d44-be34-4f4e-b42e-2d77e69acf84
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_service_location_descripti
field_name: field_service_location_descripti
entity_type: paragraph
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
21 changes: 21 additions & 0 deletions config/sync/field.storage.paragraph.field_task_oriented_header.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: a2c511a4-0798-49e7-9b84-aeb45378e45a
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_task_oriented_header
field_name: field_task_oriented_header
entity_type: paragraph
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

0 comments on commit a0d7a5b

Please sign in to comment.