From 589dce7cd03994e94b39c17c147ffbd0628cfe83 Mon Sep 17 00:00:00 2001 From: gchi25 Date: Tue, 17 Sep 2024 15:06:25 -0400 Subject: [PATCH] PXBF-1787-hint-hyperlink: change field hint to formatted --- ...aragraph.b_levent_elg_criteria.default.yml | 7 +++--- ...aragraph.b_levent_elg_criteria.default.yml | 10 ++++---- ...aph.b_levent_elg_criteria.field_b_hint.yml | 22 ++++++++++++++++++ .../field.storage.paragraph.field_b_hint.yml | 23 +++++++++++++++++++ 4 files changed, 54 insertions(+), 8 deletions(-) create mode 100644 usagov_benefit_finder/configuration/field.field.paragraph.b_levent_elg_criteria.field_b_hint.yml create mode 100644 usagov_benefit_finder/configuration/field.storage.paragraph.field_b_hint.yml diff --git a/usagov_benefit_finder/configuration/core.entity_form_display.paragraph.b_levent_elg_criteria.default.yml b/usagov_benefit_finder/configuration/core.entity_form_display.paragraph.b_levent_elg_criteria.default.yml index 8619ffbb0..daa3b4638 100644 --- a/usagov_benefit_finder/configuration/core.entity_form_display.paragraph.b_levent_elg_criteria.default.yml +++ b/usagov_benefit_finder/configuration/core.entity_form_display.paragraph.b_levent_elg_criteria.default.yml @@ -12,6 +12,7 @@ dependencies: - paragraphs.paragraphs_type.b_levent_elg_criteria module: - paragraphs + - text id: paragraph.b_levent_elg_criteria.default targetEntityType: paragraph bundle: b_levent_elg_criteria @@ -19,7 +20,7 @@ mode: default content: field_b_children: type: paragraphs - weight: 6 + weight: 5 region: content settings: title: Paragraph @@ -51,11 +52,11 @@ content: placeholder: '' third_party_settings: { } field_b_hint: - type: string_textfield + type: text_textarea weight: 3 region: content settings: - size: 60 + rows: 5 placeholder: '' third_party_settings: { } field_b_legend: diff --git a/usagov_benefit_finder/configuration/core.entity_view_display.paragraph.b_levent_elg_criteria.default.yml b/usagov_benefit_finder/configuration/core.entity_view_display.paragraph.b_levent_elg_criteria.default.yml index d9092d379..abb25a4d3 100644 --- a/usagov_benefit_finder/configuration/core.entity_view_display.paragraph.b_levent_elg_criteria.default.yml +++ b/usagov_benefit_finder/configuration/core.entity_view_display.paragraph.b_levent_elg_criteria.default.yml @@ -12,6 +12,7 @@ dependencies: - paragraphs.paragraphs_type.b_levent_elg_criteria module: - entity_reference_revisions + - text id: paragraph.b_levent_elg_criteria.default targetEntityType: paragraph bundle: b_levent_elg_criteria @@ -24,7 +25,7 @@ content: view_mode: default link: '' third_party_settings: { } - weight: 6 + weight: 4 region: content field_b_criteria_key: type: entity_reference_label @@ -40,13 +41,12 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 7 + weight: 5 region: content field_b_hint: - type: string + type: text_default label: above - settings: - link_to_entity: false + settings: { } third_party_settings: { } weight: 2 region: content diff --git a/usagov_benefit_finder/configuration/field.field.paragraph.b_levent_elg_criteria.field_b_hint.yml b/usagov_benefit_finder/configuration/field.field.paragraph.b_levent_elg_criteria.field_b_hint.yml new file mode 100644 index 000000000..8bec020e6 --- /dev/null +++ b/usagov_benefit_finder/configuration/field.field.paragraph.b_levent_elg_criteria.field_b_hint.yml @@ -0,0 +1,22 @@ +uuid: 96756355-9a7a-4487-956a-c55e7d93d268 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_b_hint + - paragraphs.paragraphs_type.b_levent_elg_criteria + module: + - text +id: paragraph.b_levent_elg_criteria.field_b_hint +field_name: field_b_hint +entity_type: paragraph +bundle: b_levent_elg_criteria +label: Hint +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + allowed_formats: { } +field_type: text_long diff --git a/usagov_benefit_finder/configuration/field.storage.paragraph.field_b_hint.yml b/usagov_benefit_finder/configuration/field.storage.paragraph.field_b_hint.yml new file mode 100644 index 000000000..46d38a47d --- /dev/null +++ b/usagov_benefit_finder/configuration/field.storage.paragraph.field_b_hint.yml @@ -0,0 +1,23 @@ +uuid: c0a37ed2-140b-421d-94ae-577f210ac42a +langcode: en +status: true +dependencies: + module: + - field_permissions + - paragraphs + - text +third_party_settings: + field_permissions: + permission_type: public +id: paragraph.field_b_hint +field_name: field_b_hint +entity_type: paragraph +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false