Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIGITAL-254: Guide content review #128

Merged
merged 11 commits into from
Jan 17, 2025
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 82bbc5f1-7a89-4790-8407-896442a08af3
langcode: en
status: true
dependencies:
config:
- node.type.guide_landing
id: node.guide_landing.promote
field_name: promote
entity_type: node
bundle: guide_landing
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
22 changes: 22 additions & 0 deletions config/sync/core.base_field_override.node.guide_landing.status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 4364e4a5-14f6-47b3-b2e1-ffda3628e995
langcode: en
status: true
dependencies:
config:
- node.type.guide_landing
id: node.guide_landing.status
field_name: status
entity_type: node
bundle: guide_landing
label: Published
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
32 changes: 26 additions & 6 deletions config/sync/core.entity_form_display.media.image.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,74 @@ langcode: en
status: true
dependencies:
config:
- field.field.media.image.field_caption
- field.field.media.image.field_credit
- field.field.media.image.field_media_image
- image.style.thumbnail
- media.type.image
module:
- image
- path
- text
id: media.image.default
targetEntityType: media
bundle: image
mode: default
content:
created:
type: datetime_timestamp
weight: 10
weight: 5
region: content
settings: { }
third_party_settings: { }
field_caption:
type: text_textfield
weight: 3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_credit:
type: string_textfield
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_media_image:
type: image_image
weight: 0
weight: 1
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
name:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
weight: 6
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
weight: 4
region: content
settings:
match_operator: CONTAINS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.image.field_caption
- field.field.media.image.field_credit
- field.field.media.image.field_media_image
- image.style.thumbnail
- media.type.image
module:
- image
- path
id: media.image.media_library
targetEntityType: media
bundle: image
Expand All @@ -30,6 +33,8 @@ content:
third_party_settings: { }
hidden:
created: true
field_caption: true
field_credit: true
name: true
publish_on: true
publish_state: true
Expand Down
143 changes: 143 additions & 0 deletions config/sync/core.entity_form_display.node.guide_landing.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
uuid: 3d3feafc-f9f9-443d-9f05-9d381ad44419
langcode: en
status: true
dependencies:
config:
- field.field.node.guide_landing.body
- field.field.node.guide_landing.field_bottom_content
- field.field.node.guide_landing.field_glossary
- field.field.node.guide_landing.field_guides
- field.field.node.guide_landing.field_primary_image
- field.field.node.guide_landing.field_summary
- node.type.guide_landing
module:
- content_moderation
- maxlength
- media_library
- path
- text
id: node.guide_landing.default
targetEntityType: node
bundle: guide_landing
mode: default
content:
body:
type: text_textarea_with_summary
weight: 3
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 8
region: content
settings: { }
third_party_settings: { }
field_bottom_content:
type: text_textarea
weight: 5
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_glossary:
type: options_select
weight: 6
region: content
settings: { }
third_party_settings: { }
field_guides:
type: entity_reference_autocomplete
weight: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_primary_image:
type: media_library_widget
weight: 2
region: content
settings:
media_types: { }
third_party_settings: { }
field_summary:
type: text_textarea
weight: 1
region: content
settings:
rows: 1
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 255
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: true
moderation_state:
type: moderation_state_default
weight: 14
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 11
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 12
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 7
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 13
region: content
settings: { }
third_party_settings: { }
hidden:
publish_on: true
publish_state: true
unpublish_on: true
unpublish_state: true
Loading
Loading