From 109237f09b40af547658cfdccea4fca80afcaf65 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Mon, 9 Dec 2024 12:29:20 -0500 Subject: [PATCH 1/2] feat: updates to page fields --- ....entity_form_display.node.page.default.yml | 48 +++++++++++++------ ....entity_view_display.node.page.default.yml | 17 +++---- ...e.entity_view_display.node.page.teaser.yml | 27 +++++++++-- .../field.field.node.page.field_metadata.yml | 3 ++ .../field.field.node.page.field_seo_title.yml | 3 ++ config/field.field.node.page.field_tags.yml | 29 +++++++++++ ...eld.field.node.page.field_teaser_image.yml | 2 + ...ield.field.node.page.field_teaser_text.yml | 3 ++ config/field.storage.node.field_metadata.yml | 3 ++ config/field.storage.node.field_seo_title.yml | 3 ++ config/field.storage.node.field_tags.yml | 20 ++++++++ .../field.storage.node.field_teaser_image.yml | 2 + .../field.storage.node.field_teaser_text.yml | 3 ++ 13 files changed, 132 insertions(+), 31 deletions(-) create mode 100644 config/field.field.node.page.field_tags.yml create mode 100644 config/field.storage.node.field_tags.yml diff --git a/config/core.entity_form_display.node.page.default.yml b/config/core.entity_form_display.node.page.default.yml index e228c9a..488be45 100644 --- a/config/core.entity_form_display.node.page.default.yml +++ b/config/core.entity_form_display.node.page.default.yml @@ -1,19 +1,19 @@ +uuid: 8340ee0a-5461-4b4c-b7d9-700d16b7595b langcode: en status: true dependencies: config: - field.field.node.page.field_metadata - field.field.node.page.field_seo_title + - field.field.node.page.field_tags - field.field.node.page.field_teaser_image - field.field.node.page.field_teaser_text - - field.field.node.page.field_text - node.type.page module: - field_group - media_library - metatag - publication_date - - text third_party_settings: field_group: group_main: @@ -21,6 +21,7 @@ third_party_settings: - group_info - group_content - group_teaser + - group_taxonomy label: Main region: content parent_name: '' @@ -49,8 +50,7 @@ third_party_settings: description: '' required_fields: true group_content: - children: - - field_text + children: { } label: Content region: content parent_name: group_main @@ -79,8 +79,24 @@ third_party_settings: formatter: closed description: '' required_fields: true + group_taxonomy: + children: + - field_tags + label: Taxonomy + region: content + parent_name: group_main + weight: 23 + format_type: tab + format_settings: + classes: '' + show_empty_fields: false + id: '' + label_as_html: false + formatter: closed + description: '' + required_fields: true _core: - default_config_hash: eiI90r-TJ4kjkMOh1w55J9CbCoGd32j7hNoJPqKuwyc + default_config_hash: WvIy4kZU8Bb9SMrkzP3DRZ1Y0r2N5NFPCKfoFkHyAZs id: node.page.default targetEntityType: node bundle: page @@ -118,13 +134,23 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_tags: + type: entity_reference_autocomplete + weight: 123 + region: content + settings: + match_operator: CONTAINS + match_limit: 10 + size: 60 + placeholder: '' + third_party_settings: { } field_teaser_image: type: media_library_widget weight: 8 region: content settings: - media_types: { } - third_party_settings: { } + media_types: { } + third_party_settings: { } field_teaser_text: type: string_textarea weight: 9 @@ -133,14 +159,6 @@ content: rows: 5 placeholder: '' third_party_settings: { } - field_text: - type: text_textarea - weight: 10 - region: content - settings: - rows: 5 - placeholder: '' - third_party_settings: { } promote: type: boolean_checkbox weight: 5 diff --git a/config/core.entity_view_display.node.page.default.yml b/config/core.entity_view_display.node.page.default.yml index 8581236..7f09975 100644 --- a/config/core.entity_view_display.node.page.default.yml +++ b/config/core.entity_view_display.node.page.default.yml @@ -1,17 +1,18 @@ +uuid: eebf236a-b246-4375-ab66-137bc92d1c13 langcode: en status: true dependencies: config: - field.field.node.page.field_metadata - field.field.node.page.field_seo_title + - field.field.node.page.field_tags - field.field.node.page.field_teaser_image - field.field.node.page.field_teaser_text - - field.field.node.page.field_text - node.type.page module: - - metatag - - text - user +_core: + default_config_hash: lkRkns7OKycY9DDObRXSIIwjIbovPeHplntH6BHGf9k id: node.page.default targetEntityType: node bundle: page @@ -25,21 +26,15 @@ content: third_party_settings: { } weight: 101 region: content - field_text: - type: text_default - label: hidden - settings: { } - third_party_settings: { } - weight: 1 - region: content links: settings: { } third_party_settings: { } - weight: 100 + weight: 0 region: content hidden: field_metadata: true field_seo_title: true + field_tags: true field_teaser_image: true field_teaser_text: true published_at: true diff --git a/config/core.entity_view_display.node.page.teaser.yml b/config/core.entity_view_display.node.page.teaser.yml index 76aef51..16a47b6 100644 --- a/config/core.entity_view_display.node.page.teaser.yml +++ b/config/core.entity_view_display.node.page.teaser.yml @@ -1,3 +1,4 @@ +uuid: 5c6df2f3-9c5c-47bd-b465-385f72f0f08f langcode: en status: true dependencies: @@ -5,12 +6,14 @@ dependencies: - core.entity_view_mode.node.teaser - field.field.node.page.field_metadata - field.field.node.page.field_seo_title + - field.field.node.page.field_tags - field.field.node.page.field_teaser_image - field.field.node.page.field_teaser_text - - field.field.node.page.field_text - node.type.page module: - user +_core: + default_config_hash: qdtImxAdIw3Mc5AyBFO6D_D_ThDz65Wcoh9nZu-NF_8 id: node.page.teaser targetEntityType: node bundle: page @@ -24,15 +27,29 @@ content: third_party_settings: { } weight: 101 region: content + field_teaser_image: + type: entity_reference_entity_view + label: hidden + settings: + view_mode: default + link: true + third_party_settings: { } + weight: 1 + region: content + field_teaser_text: + type: basic_string + label: hidden + settings: { } + third_party_settings: { } + weight: 2 + region: content links: settings: { } third_party_settings: { } - weight: 100 + weight: 0 region: content hidden: field_metadata: true field_seo_title: true - field_teaser_image: true - field_teaser_text: true - field_text: true + field_tags: true published_at: true diff --git a/config/field.field.node.page.field_metadata.yml b/config/field.field.node.page.field_metadata.yml index 42c8f6e..ce882fb 100644 --- a/config/field.field.node.page.field_metadata.yml +++ b/config/field.field.node.page.field_metadata.yml @@ -1,3 +1,4 @@ +uuid: acde4e2d-04af-47eb-83ee-b6b1c2c5f21d langcode: en status: true dependencies: @@ -6,6 +7,8 @@ dependencies: - node.type.page module: - metatag +_core: + default_config_hash: C4x0lCjXBUHClhVAE6ByjLhPgVXtc-Qrw5FSI1S3WRQ id: node.page.field_metadata field_name: field_metadata entity_type: node diff --git a/config/field.field.node.page.field_seo_title.yml b/config/field.field.node.page.field_seo_title.yml index 2988156..2908643 100644 --- a/config/field.field.node.page.field_seo_title.yml +++ b/config/field.field.node.page.field_seo_title.yml @@ -1,9 +1,12 @@ +uuid: 13720b88-b73e-4b76-8caa-80542371a199 langcode: en status: true dependencies: config: - field.storage.node.field_seo_title - node.type.page +_core: + default_config_hash: FvVvtL1TiPaX6PkzOGMmjCcsuOUTY-ZhfUhERnbTM0g id: node.page.field_seo_title field_name: field_seo_title entity_type: node diff --git a/config/field.field.node.page.field_tags.yml b/config/field.field.node.page.field_tags.yml new file mode 100644 index 0000000..c8b2fe5 --- /dev/null +++ b/config/field.field.node.page.field_tags.yml @@ -0,0 +1,29 @@ +uuid: 73ad9bb1-bd62-414d-b7d8-15412e5ab4e1 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_tags + - node.type.page + - taxonomy.vocabulary.tags +id: node.page.field_tags +field_name: field_tags +entity_type: node +bundle: page +label: Tags +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + tags: tags + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/field.field.node.page.field_teaser_image.yml b/config/field.field.node.page.field_teaser_image.yml index d887846..a359a0b 100644 --- a/config/field.field.node.page.field_teaser_image.yml +++ b/config/field.field.node.page.field_teaser_image.yml @@ -6,6 +6,8 @@ dependencies: - field.storage.node.field_teaser_image - media.type.image - node.type.page +_core: + default_config_hash: yCRMK3JAK-gK_PlCgyVyab7F1DT9i1UdXJRPZFHsrXo id: node.page.field_teaser_image field_name: field_teaser_image entity_type: node diff --git a/config/field.field.node.page.field_teaser_text.yml b/config/field.field.node.page.field_teaser_text.yml index 036f9d6..4e2c55f 100644 --- a/config/field.field.node.page.field_teaser_text.yml +++ b/config/field.field.node.page.field_teaser_text.yml @@ -1,9 +1,12 @@ +uuid: 11122afb-16c8-4ee8-9b39-8a38f889d41c langcode: en status: true dependencies: config: - field.storage.node.field_teaser_text - node.type.page +_core: + default_config_hash: qWKNookvgJWoHegfG_6I6XzHZo4m6zWhY19DChQ94BU id: node.page.field_teaser_text field_name: field_teaser_text entity_type: node diff --git a/config/field.storage.node.field_metadata.yml b/config/field.storage.node.field_metadata.yml index 6fb0f06..655c278 100644 --- a/config/field.storage.node.field_metadata.yml +++ b/config/field.storage.node.field_metadata.yml @@ -1,9 +1,12 @@ +uuid: c0cdb58e-54a4-4a7f-af43-78a7a9d605b8 langcode: en status: true dependencies: module: - metatag - node +_core: + default_config_hash: jl1pnxSHvYv1OLhn4MiwlohrdemOsdxZRuf_LwwjkVE id: node.field_metadata field_name: field_metadata entity_type: node diff --git a/config/field.storage.node.field_seo_title.yml b/config/field.storage.node.field_seo_title.yml index 80becb8..082282b 100644 --- a/config/field.storage.node.field_seo_title.yml +++ b/config/field.storage.node.field_seo_title.yml @@ -1,8 +1,11 @@ +uuid: 4a1280f2-44af-4b62-a6bc-625a7258dfcd langcode: en status: true dependencies: module: - node +_core: + default_config_hash: iMAf20ZrWSJfliq_84vR2HBt8JE8bZYqF-CLEfsnhdk id: node.field_seo_title field_name: field_seo_title entity_type: node diff --git a/config/field.storage.node.field_tags.yml b/config/field.storage.node.field_tags.yml new file mode 100644 index 0000000..8ae3f6c --- /dev/null +++ b/config/field.storage.node.field_tags.yml @@ -0,0 +1,20 @@ +uuid: 3e6d7bfb-a6c7-4d8f-92aa-6c6d36cafa5b +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_tags +field_name: field_tags +entity_type: node +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 diff --git a/config/field.storage.node.field_teaser_image.yml b/config/field.storage.node.field_teaser_image.yml index 9f2c78f..a6da1d4 100644 --- a/config/field.storage.node.field_teaser_image.yml +++ b/config/field.storage.node.field_teaser_image.yml @@ -5,6 +5,8 @@ dependencies: module: - media - node +_core: + default_config_hash: ttFY3bekoHSevaL9ejSjV8aOlkNglv7ltpPWy1-8TR4 id: node.field_teaser_image field_name: field_teaser_image entity_type: node diff --git a/config/field.storage.node.field_teaser_text.yml b/config/field.storage.node.field_teaser_text.yml index d374e12..eb7a6c8 100644 --- a/config/field.storage.node.field_teaser_text.yml +++ b/config/field.storage.node.field_teaser_text.yml @@ -1,8 +1,11 @@ +uuid: f296c078-c268-45af-9eaa-37362982ae49 langcode: en status: true dependencies: module: - node +_core: + default_config_hash: NLEAx4ttF8Nd2uzpRpApdPAyy-FoG1AIPe4C5WdQBeI id: node.field_teaser_text field_name: field_teaser_text entity_type: node From e7c81bc8f8170172d0f062dfc854d0ec04a20b30 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Mon, 9 Dec 2024 12:30:53 -0500 Subject: [PATCH 2/2] feat: add tags vocabulary --- config/taxonomy.vocabulary.tags.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/taxonomy.vocabulary.tags.yml diff --git a/config/taxonomy.vocabulary.tags.yml b/config/taxonomy.vocabulary.tags.yml new file mode 100644 index 0000000..42737ac --- /dev/null +++ b/config/taxonomy.vocabulary.tags.yml @@ -0,0 +1,9 @@ +uuid: 32daef39-cab2-419f-a2eb-2bf28165a85c +langcode: en +status: true +dependencies: { } +name: Tags +vid: tags +description: null +weight: 0 +new_revision: false