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-141 Rabbit Hole module #87

Closed
wants to merge 2 commits into from
Closed
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: a1068024-c5f1-416f-8bc9-28048fbcd2e2
langcode: en
status: true
dependencies:
config:
- node.type.guide_navigation
id: node.guide_navigation.promote
field_name: promote
entity_type: node
bundle: guide_navigation
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: d930a71d-81af-45a1-99f4-18db2af2d1d4
langcode: en
status: true
dependencies:
config:
- node.type.guide_navigation
id: node.guide_navigation.status
field_name: status
entity_type: node
bundle: guide_navigation
label: Published
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
160 changes: 160 additions & 0 deletions config/sync/core.entity_form_display.node.guide_navigation.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
uuid: 31864a7f-f8df-4e04-bd14-f8b75be8f6fe
langcode: en
status: true
dependencies:
config:
- field.field.node.guide_navigation.field_guide_navigation
- field.field.node.guide_navigation.field_guide_start_page
- field.field.node.guide_navigation.field_parent_guide
- field.field.node.guide_navigation.field_show_in_page_nav
- field.field.node.guide_navigation.field_show_next_previous
- field.field.node.guide_navigation.field_show_read_time
- node.type.guide_navigation
module:
- content_moderation
- field_group
- paragraphs
- path
third_party_settings:
field_group:
group_settings:
children:
- field_show_next_previous
- field_show_read_time
- field_show_in_page_nav
- field_parent_guide
label: Settings
region: content
parent_name: ''
weight: 3
format_type: fieldset
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
description: ''
required_fields: true
id: node.guide_navigation.default
targetEntityType: node
bundle: guide_navigation
mode: default
content:
created:
type: datetime_timestamp
weight: 5
region: content
settings: { }
third_party_settings: { }
field_guide_navigation:
type: paragraphs
weight: 2
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ''
features:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_guide_start_page:
type: options_select
weight: 1
region: content
settings: { }
third_party_settings: { }
field_parent_guide:
type: options_select
weight: 26
region: content
settings: { }
third_party_settings: { }
field_show_in_page_nav:
type: boolean_checkbox
weight: 13
region: content
settings:
display_label: true
third_party_settings: { }
field_show_next_previous:
type: boolean_checkbox
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
field_show_read_time:
type: boolean_checkbox
weight: 12
region: content
settings:
display_label: true
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 10
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 8
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 11
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 7
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: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 9
region: content
settings: { }
third_party_settings: { }
hidden:
publish_on: true
publish_state: true
unpublish_on: true
unpublish_state: true
65 changes: 50 additions & 15 deletions config/sync/core.entity_form_display.node.guides.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ dependencies:
- field.field.node.guides.body
- field.field.node.guides.field_deck
- field.field.node.guides.field_featured_image
- field.field.node.guides.field_guide_nav_ref
- field.field.node.guides.field_guide_nav_title
- field.field.node.guides.field_guide_weight
- field.field.node.guides.field_kicker
- field.field.node.guides.field_page_weight
Expand All @@ -17,19 +19,38 @@ dependencies:
- workflows.workflow.editorial
module:
- content_moderation
- field_group
- inline_entity_form
- maxlength
- media_library
- path
- text
third_party_settings:
field_group:
group_guide_navigation:
children:
- field_guide_nav_title
- field_guide_nav_ref
label: 'Guide Navigation'
region: content
parent_name: ''
weight: 14
format_type: fieldset
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
description: ''
required_fields: true
id: node.guides.default
targetEntityType: node
bundle: guides
mode: default
content:
body:
type: text_textarea_with_summary
weight: 3
weight: 4
region: content
settings:
rows: 9
Expand All @@ -39,7 +60,7 @@ content:
third_party_settings: { }
created:
type: datetime_timestamp
weight: 6
weight: 7
region: content
settings: { }
third_party_settings: { }
Expand All @@ -57,43 +78,57 @@ content:
maxlength_js_enforce: true
field_featured_image:
type: media_library_widget
weight: 12
weight: 13
region: content
settings:
media_types: { }
third_party_settings: { }
field_guide_nav_ref:
type: options_select
weight: 26
region: content
settings: { }
third_party_settings: { }
field_guide_nav_title:
type: string_textfield
weight: 18
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_guide_weight:
type: number
weight: 10
weight: 11
region: content
settings:
placeholder: ''
third_party_settings: { }
field_kicker:
type: string_textfield
weight: 1
weight: 2
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_page_weight:
type: number
weight: 9
weight: 10
region: content
settings:
placeholder: ''
third_party_settings: { }
field_primary_image:
type: media_library_widget
weight: 11
weight: 12
region: content
settings:
media_types: { }
third_party_settings: { }
field_summary:
type: text_textarea
weight: 2
weight: 3
region: content
settings:
rows: 1
Expand All @@ -105,14 +140,14 @@ content:
maxlength_js_enforce: true
field_summary_box:
type: boolean_checkbox
weight: 4
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
field_topics:
type: inline_entity_form_complex
weight: 13
weight: 15
region: content
settings:
form_mode: default
Expand All @@ -130,19 +165,19 @@ content:
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 7
weight: 8
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 30
weight: 16
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 8
weight: 9
region: content
settings:
display_label: true
Expand All @@ -157,7 +192,7 @@ content:
third_party_settings: { }
uid:
type: inline_entity_form_complex
weight: 5
weight: 6
region: content
settings:
form_mode: default
Expand All @@ -174,7 +209,7 @@ content:
removed_reference: optional
third_party_settings: { }
url_redirects:
weight: 50
weight: 17
region: content
settings: { }
third_party_settings: { }
Expand Down
Loading
Loading