From 31ee044b2ebfcc579d37587f507883318330f8ef Mon Sep 17 00:00:00 2001 From: "Ryan P Letulle (CGI)" <92539208+ryanletulle@users.noreply.github.com> Date: Thu, 29 Jun 2023 16:07:33 -0500 Subject: [PATCH] Update fields --- ...de.hr_advisories_and_bulletins.default.yml | 49 ++++++++-- ...de.hr_advisories_and_bulletins.default.yml | 64 +++++++++---- ...ode.hr_advisories_and_bulletins.teaser.yml | 4 + ...isories_and_bulletins.field_references.yml | 96 +++++++++++++++++++ 4 files changed, 186 insertions(+), 27 deletions(-) create mode 100644 config/sync/field.field.node.hr_advisories_and_bulletins.field_references.yml diff --git a/config/sync/core.entity_form_display.node.hr_advisories_and_bulletins.default.yml b/config/sync/core.entity_form_display.node.hr_advisories_and_bulletins.default.yml index 002c394b2..9fbb1bce6 100644 --- a/config/sync/core.entity_form_display.node.hr_advisories_and_bulletins.default.yml +++ b/config/sync/core.entity_form_display.node.hr_advisories_and_bulletins.default.yml @@ -1,3 +1,5 @@ +EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. + uuid: 37f56e96-2839-4914-bd7e-924f47a09ae4 langcode: en status: true @@ -12,6 +14,7 @@ dependencies: - field.field.node.hr_advisories_and_bulletins.field_policy_link - field.field.node.hr_advisories_and_bulletins.field_policy_purpose - field.field.node.hr_advisories_and_bulletins.field_policy_upload + - field.field.node.hr_advisories_and_bulletins.field_references - field.field.node.hr_advisories_and_bulletins.field_related_agency_forms - field.field.node.hr_advisories_and_bulletins.field_related_policy - field.field.node.hr_advisories_and_bulletins.field_related_resources @@ -23,6 +26,7 @@ dependencies: - datetime - field_group - link + - paragraphs - path - text third_party_settings: @@ -35,7 +39,7 @@ third_party_settings: label: 'Related Directives, Forms, & Resources' region: content parent_name: '' - weight: 10 + weight: 11 format_type: fieldset format_settings: classes: '' @@ -43,6 +47,21 @@ third_party_settings: id: '' description: '' required_fields: true + group_ref: + children: + - field_references + label: References + region: content + parent_name: '' + weight: 10 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + open: false + description: '' + required_fields: true id: node.hr_advisories_and_bulletins.default targetEntityType: node bundle: hr_advisories_and_bulletins @@ -50,13 +69,13 @@ mode: default content: created: type: datetime_timestamp - weight: 12 + weight: 15 region: content settings: { } third_party_settings: { } field_admin_update_date: type: datetime_default - weight: 18 + weight: 13 region: content settings: { } third_party_settings: { } @@ -82,7 +101,7 @@ content: third_party_settings: { } field_keywords: type: entity_reference_autocomplete - weight: 17 + weight: 12 region: content settings: match_operator: CONTAINS @@ -160,6 +179,18 @@ content: effect: show effect_options: { } selector: '' + field_references: + type: entity_reference_paragraphs + weight: 20 + region: content + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + add_mode: dropdown + form_display_mode: default + default_paragraph_type: '' + third_party_settings: { } field_related_agency_forms: type: entity_reference_autocomplete weight: 20 @@ -202,19 +233,19 @@ content: third_party_settings: { } moderation_state: type: moderation_state_default - weight: 15 + weight: 18 region: content settings: { } third_party_settings: { } path: type: path - weight: 13 + weight: 16 region: content settings: { } third_party_settings: { } status: type: boolean_checkbox - weight: 16 + weight: 19 region: content settings: display_label: true @@ -229,7 +260,7 @@ content: third_party_settings: { } uid: type: entity_reference_autocomplete - weight: 11 + weight: 14 region: content settings: match_operator: CONTAINS @@ -238,7 +269,7 @@ content: placeholder: '' third_party_settings: { } url_redirects: - weight: 14 + weight: 17 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.default.yml b/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.default.yml index f70599752..34221c004 100644 --- a/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.default.yml +++ b/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.default.yml @@ -1,3 +1,5 @@ +EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. + uuid: 4b5770f0-84fd-4521-8c02-31e4229f9bea langcode: en status: true @@ -12,6 +14,7 @@ dependencies: - field.field.node.hr_advisories_and_bulletins.field_policy_link - field.field.node.hr_advisories_and_bulletins.field_policy_purpose - field.field.node.hr_advisories_and_bulletins.field_policy_upload + - field.field.node.hr_advisories_and_bulletins.field_references - field.field.node.hr_advisories_and_bulletins.field_related_agency_forms - field.field.node.hr_advisories_and_bulletins.field_related_policy - field.field.node.hr_advisories_and_bulletins.field_related_resources @@ -20,6 +23,7 @@ dependencies: - node.type.hr_advisories_and_bulletins module: - datetime + - entity_reference_revisions - field_group - link - options @@ -35,7 +39,21 @@ third_party_settings: label: 'Related Directives, Forms, & Resources' parent_name: '' region: content - weight: 8 + weight: 10 + format_type: details + format_settings: + classes: '' + show_empty_fields: false + id: '' + open: true + description: '' + group_authority_citations: + children: + - field_references + label: 'Authority Citations' + parent_name: '' + region: content + weight: 9 format_type: details format_settings: classes: '' @@ -53,9 +71,9 @@ content: label: above settings: timezone_override: '' - format_type: medium + format_type: month_day_year third_party_settings: { } - weight: 13 + weight: 12 region: content field_approval_date: type: datetime_default @@ -72,7 +90,14 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 7 + weight: 8 + region: content + field_hr_policy_type: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 2 region: content field_keywords: type: entity_reference_label @@ -80,7 +105,7 @@ content: settings: link: true third_party_settings: { } - weight: 9 + weight: 11 region: content field_policy_identifier: type: string @@ -100,22 +125,32 @@ content: rel: '0' target: '0' third_party_settings: { } - weight: 2 + weight: 6 region: content field_policy_purpose: type: text_default label: above settings: { } third_party_settings: { } - weight: 6 + weight: 5 region: content field_policy_upload: - type: entity_reference_label + type: entity_reference_entity_view label: above settings: - link: true + view_mode: link + link: false + third_party_settings: { } + weight: 7 + region: content + field_references: + type: entity_reference_revisions_entity_view + label: hidden + settings: + view_mode: default + link: '' third_party_settings: { } - weight: 16 + weight: 13 region: content field_related_agency_forms: type: entity_reference_label @@ -153,13 +188,6 @@ content: third_party_settings: { } weight: 3 region: content - field_upload_or_link: - type: list_default - label: above - settings: { } - third_party_settings: { } - weight: 14 - region: content links: settings: { } third_party_settings: { } @@ -167,4 +195,4 @@ content: region: content hidden: content_moderation_control: true - field_hr_policy_type: true + field_upload_or_link: true diff --git a/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.teaser.yml b/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.teaser.yml index 80a39ef99..247c2c4a7 100644 --- a/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.teaser.yml +++ b/config/sync/core.entity_view_display.node.hr_advisories_and_bulletins.teaser.yml @@ -1,3 +1,5 @@ +EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. + uuid: 00025b2f-eb7b-46dc-8dbc-2cf8484de842 langcode: en status: true @@ -13,6 +15,7 @@ dependencies: - field.field.node.hr_advisories_and_bulletins.field_policy_link - field.field.node.hr_advisories_and_bulletins.field_policy_purpose - field.field.node.hr_advisories_and_bulletins.field_policy_upload + - field.field.node.hr_advisories_and_bulletins.field_references - field.field.node.hr_advisories_and_bulletins.field_related_agency_forms - field.field.node.hr_advisories_and_bulletins.field_related_policy - field.field.node.hr_advisories_and_bulletins.field_related_resources @@ -42,6 +45,7 @@ hidden: field_policy_link: true field_policy_purpose: true field_policy_upload: true + field_references: true field_related_agency_forms: true field_related_policy: true field_related_resources: true diff --git a/config/sync/field.field.node.hr_advisories_and_bulletins.field_references.yml b/config/sync/field.field.node.hr_advisories_and_bulletins.field_references.yml new file mode 100644 index 000000000..043c9922f --- /dev/null +++ b/config/sync/field.field.node.hr_advisories_and_bulletins.field_references.yml @@ -0,0 +1,96 @@ +EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. + +uuid: 86a7687e-c2ae-42f7-af1a-6e05584db522 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_references + - node.type.hr_advisories_and_bulletins + - paragraphs.paragraphs_type.governing_authorities + module: + - entity_reference_revisions +id: node.hr_advisories_and_bulletins.field_references +field_name: field_references +entity_type: node +bundle: hr_advisories_and_bulletins +label: References +description: "Provide a citation to the relevant statute, regulation, or Executive Order that describes the specific authority being delegated.\r\n\r\nAny statutory or regulatory citations refer to the most recent versions of those statutes and regulations; these citations should be updated when changes occur to the statute or regulation." +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + governing_authorities: governing_authorities + negate: 0 + target_bundles_drag_drop: + contact: + weight: 23 + enabled: false + dynamic_list: + weight: 24 + enabled: false + governing_authorities: + weight: 25 + enabled: true + heading_title_and_text: + weight: 26 + enabled: false + hero_carousel: + weight: 27 + enabled: false + list_of_link: + weight: 28 + enabled: false + policy_roles: + weight: 29 + enabled: false + question_and_answer: + weight: 30 + enabled: false + rich_text: + weight: 31 + enabled: false + slide: + weight: 32 + enabled: false + slide_show: + weight: 33 + enabled: false + title_and_text: + weight: 34 + enabled: false + uswds_card: + weight: 35 + enabled: false + uswds_card_set: + weight: 36 + enabled: false + uswds_column: + weight: 37 + enabled: false + uswds_graphic_list: + weight: 38 + enabled: false + uswds_grid: + weight: 39 + enabled: false + uswds_hero: + weight: 40 + enabled: false + uswds_media_block: + weight: 41 + enabled: false + uswds_text: + weight: 42 + enabled: false + views_reference_list: + weight: 43 + enabled: false + webform: + weight: 44 + enabled: false +field_type: entity_reference_revisions