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

DDFBRA-284 - Create basic page for go and add video paragraph #1876

Merged
merged 5 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions config/sync/core.base_field_override.node.go_page.promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: b496f8fe-a385-4170-9efd-cb37511ebe19
langcode: en
status: true
dependencies:
config:
- node.type.go_page
id: node.go_page.promote
field_name: promote
entity_type: node
bundle: go_page
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
126 changes: 126 additions & 0 deletions config/sync/core.entity_form_display.node.go_page.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
uuid: de3c1ff7-87ad-4301-a943-139ba761b1f3
langcode: en
status: true
dependencies:
config:
- field.field.node.go_page.field_paragraphs
- field.field.node.go_page.field_publication_date
- node.type.go_page
module:
- datetime
- field_group
- paragraphs
- paragraphs_ee
- paragraphs_features
- path
- scheduler
third_party_settings:
field_group:
group_author_date:
children:
- field_publication_date
label: 'Author & Date'
region: content
parent_name: ''
weight: 6
format_type: details_sidebar
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: true
weight: 0
id: node.go_page.default
targetEntityType: node
bundle: go_page
mode: default
content:
field_paragraphs:
type: paragraphs
weight: 1
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: closed
closed_mode: preview
autocollapse: none
closed_mode_threshold: 0
add_mode: modal
form_display_mode: default
default_paragraph_type: _none
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings:
paragraphs_features:
add_in_between: true
add_in_between_link_count: 0
delete_confirmation: true
show_drag_and_drop: true
show_collapse_all: true
paragraphs_ee:
paragraphs_ee:
dialog_off_canvas: false
dialog_style: tiles
drag_drop: true
field_publication_date:
type: datetime_default
weight: 2
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 7
region: content
settings: { }
third_party_settings: { }
publish_on:
type: datetime_timestamp_no_default
weight: 4
region: content
settings: { }
third_party_settings: { }
scheduler_settings:
weight: 3
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
unpublish_on:
type: datetime_timestamp_no_default
weight: 5
region: content
settings: { }
third_party_settings: { }
url_redirects:
weight: 8
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
langcode: true
promote: true
sticky: true
uid: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: c30c4cbb-9d4a-4803-aad5-2beeb390802b
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_video.field_embed_video
- field.field.paragraph.go_video.field_go_video_title
- paragraphs.paragraphs_type.go_video
module:
- media_library
id: paragraph.go_video.default
targetEntityType: paragraph
bundle: go_video
mode: default
content:
field_embed_video:
type: media_library_widget
weight: 1
region: content
settings:
media_types: { }
third_party_settings: { }
field_go_video_title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
34 changes: 34 additions & 0 deletions config/sync/core.entity_view_display.node.go_page.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: d53aa532-7e79-4683-b619-5772ec2a4ec5
langcode: en
status: true
dependencies:
config:
- field.field.node.go_page.field_paragraphs
- field.field.node.go_page.field_publication_date
- node.type.go_page
module:
- datetime
- user
id: node.go_page.default
targetEntityType: node
bundle: go_page
mode: default
content:
field_publication_date:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 113
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
field_paragraphs: true
langcode: true
search_api_excerpt: true
35 changes: 35 additions & 0 deletions config/sync/core.entity_view_display.node.go_page.full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
uuid: 2718ce7a-df5d-4599-a0d2-5842495bebe1
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.go_page.field_paragraphs
- field.field.node.go_page.field_publication_date
- node.type.go_page
module:
- entity_reference_revisions
- user
id: node.go_page.full
targetEntityType: node
bundle: go_page
mode: full
content:
field_paragraphs:
type: entity_reference_revisions_entity_view
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 4
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
field_publication_date: true
langcode: true
search_api_excerpt: true
26 changes: 26 additions & 0 deletions config/sync/core.entity_view_display.node.go_page.teaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
uuid: 732b5969-f89f-4cd2-b8d9-9e9f68859205
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.go_page.field_paragraphs
- field.field.node.go_page.field_publication_date
- node.type.go_page
module:
- user
id: node.go_page.teaser
targetEntityType: node
bundle: go_page
mode: teaser
content:
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
field_paragraphs: true
field_publication_date: true
langcode: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: feeb1c6a-2765-4d6c-88bc-37ccee14cd3a
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_video.field_embed_video
- field.field.paragraph.go_video.field_go_video_title
- paragraphs.paragraphs_type.go_video
id: paragraph.go_video.default
targetEntityType: paragraph
bundle: go_video
mode: default
content:
field_embed_video:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: full
link: false
third_party_settings: { }
weight: 0
region: content
field_go_video_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 3ca213c6-c907-491e-9d06-f5c1d27d0dc0
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.paragraph.preview
- field.field.paragraph.go_video.field_embed_video
- field.field.paragraph.go_video.field_go_video_title
- paragraphs.paragraphs_type.go_video
id: paragraph.go_video.preview
targetEntityType: paragraph
bundle: go_video
mode: preview
content:
field_embed_video:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 0
region: content
hidden:
field_go_video_title: true
search_api_excerpt: true
Loading
Loading