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 May 13, 2024
1 parent 1c22838 commit 560db80
Show file tree
Hide file tree
Showing 8 changed files with 170 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ dependencies:
- field.field.paragraph.service_location.field_online_scheduling_avail
- field.field.paragraph.service_location.field_other_phone_numbers
- 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_use_facility_phone_number
- field.field.paragraph.service_location.field_use_main_facility_phone
- field.field.paragraph.service_location.field_virtual_support
- paragraphs.paragraphs_type.service_location
module:
- change_labels
- entity_browser_entity_form
- field_group
- ief_table_view_mode
Expand Down Expand Up @@ -277,6 +279,16 @@ content:
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: 21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- field.field.paragraph.service_location.field_online_scheduling_avail
- field.field.paragraph.service_location.field_other_phone_numbers
- 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_use_facility_phone_number
- field.field.paragraph.service_location.field_use_main_facility_phone
Expand Down Expand Up @@ -227,6 +228,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 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 560db80

Please sign in to comment.