Enable landing page Drutopia feature module for homepage
This commit is contained in:
parent
0b7d2a812e
commit
aa44171cbb
19 changed files with 341 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
uuid: aa9cce2d-9b16-41b1-b9bd-ecf5b7be4c41
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.landing_page
|
||||
_core:
|
||||
default_config_hash: KZ4pDrGhkRiIo7Ee-E4HGZp7YPXKS_FLR0nLeUQ3P2U
|
||||
id: node.landing_page.promote
|
||||
field_name: promote
|
||||
entity_type: node
|
||||
bundle: landing_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
|
|
@ -0,0 +1,81 @@
|
|||
uuid: c2804f79-3eed-4c45-a758-d43b79f1cadb
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.landing_page.field_body_paragraph
|
||||
- field.field.node.landing_page.field_meta_tags
|
||||
- node.type.landing_page
|
||||
module:
|
||||
- metatag
|
||||
- paragraphs
|
||||
- path
|
||||
_core:
|
||||
default_config_hash: 1JbtcM97POtzhg3_yUkVthAEH8Gnb1vv1uzpZ7QiWPY
|
||||
id: node.landing_page.default
|
||||
targetEntityType: node
|
||||
bundle: landing_page
|
||||
mode: default
|
||||
content:
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_body_paragraph:
|
||||
weight: 1
|
||||
settings:
|
||||
title: Paragraph
|
||||
title_plural: Paragraphs
|
||||
edit_mode: open
|
||||
add_mode: button
|
||||
form_display_mode: default
|
||||
default_paragraph_type: _none
|
||||
third_party_settings: { }
|
||||
type: entity_reference_paragraphs
|
||||
region: content
|
||||
field_meta_tags:
|
||||
weight: 5
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: metatag_firehose
|
||||
region: content
|
||||
path:
|
||||
type: path
|
||||
weight: 4
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
settings:
|
||||
display_label: true
|
||||
weight: 6
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
title:
|
||||
type: string_textfield
|
||||
weight: 0
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 2
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
url_redirects:
|
||||
weight: 50
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
hidden:
|
||||
promote: true
|
||||
sticky: true
|
|
@ -0,0 +1,22 @@
|
|||
uuid: 00e02436-6264-4305-9ba1-65bce5d1951d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.landing_page.field_body_paragraph
|
||||
- field.field.node.landing_page.field_meta_tags
|
||||
- node.type.landing_page
|
||||
module:
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: v2M7V8tN6TiqnoWONGAwAfzJywu0vB04hvs-LQx-bIQ
|
||||
id: node.landing_page.default
|
||||
targetEntityType: node
|
||||
bundle: landing_page
|
||||
mode: default
|
||||
content: { }
|
||||
hidden:
|
||||
field_body_paragraph: true
|
||||
field_meta_tags: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
|
@ -0,0 +1,52 @@
|
|||
uuid: 68fbd239-453b-4805-8c5e-4b5a9bbafe91
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.full
|
||||
- field.field.node.landing_page.field_body_paragraph
|
||||
- field.field.node.landing_page.field_meta_tags
|
||||
- node.type.landing_page
|
||||
module:
|
||||
- ds
|
||||
- entity_reference_revisions
|
||||
- user
|
||||
third_party_settings:
|
||||
ds:
|
||||
layout:
|
||||
id: ds_1col
|
||||
library: null
|
||||
disable_css: false
|
||||
entity_classes: all_classes
|
||||
settings:
|
||||
wrappers:
|
||||
ds_content: div
|
||||
outer_wrapper: div
|
||||
attributes: ''
|
||||
link_attribute: ''
|
||||
link_custom: ''
|
||||
classes:
|
||||
layout_class: { }
|
||||
regions:
|
||||
ds_content:
|
||||
- field_body_paragraph
|
||||
_core:
|
||||
default_config_hash: tf5HX48OUBJfLFIGGe79En5nUTNVRQiHp0F3KOQB8ts
|
||||
id: node.landing_page.full
|
||||
targetEntityType: node
|
||||
bundle: landing_page
|
||||
mode: full
|
||||
content:
|
||||
field_body_paragraph:
|
||||
weight: 0
|
||||
label: visually_hidden
|
||||
settings:
|
||||
view_mode: default
|
||||
link: ''
|
||||
third_party_settings: { }
|
||||
type: entity_reference_revisions_entity_view
|
||||
region: ds_content
|
||||
hidden:
|
||||
field_meta_tags: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
|
@ -0,0 +1,23 @@
|
|||
uuid: 5915c622-dadd-4de6-b73a-a079a29f45fc
|
||||
langcode: en
|
||||
status: false
|
||||
dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.teaser
|
||||
- field.field.node.landing_page.field_body_paragraph
|
||||
- field.field.node.landing_page.field_meta_tags
|
||||
- node.type.landing_page
|
||||
module:
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: GHwp_RJVCxC8Exv6YY62SXzj3VnydGqjPptC9BNzIXY
|
||||
id: node.landing_page.teaser
|
||||
targetEntityType: node
|
||||
bundle: landing_page
|
||||
mode: teaser
|
||||
content: { }
|
||||
hidden:
|
||||
field_body_paragraph: true
|
||||
field_meta_tags: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
|
@ -34,6 +34,7 @@ module:
|
|||
drutopia_blog: 0
|
||||
drutopia_comment: 0
|
||||
drutopia_core: 0
|
||||
drutopia_landing_page: 0
|
||||
drutopia_page: 0
|
||||
drutopia_people: 0
|
||||
drutopia_related_content: 0
|
||||
|
@ -43,6 +44,7 @@ module:
|
|||
dynamic_page_cache: 0
|
||||
editor: 0
|
||||
entity_reference_revisions: 0
|
||||
exclude_node_title: 0
|
||||
facets: 0
|
||||
faqfield: 0
|
||||
field: 0
|
||||
|
|
10
config/sync/exclude_node_title.settings.yml
Normal file
10
config/sync/exclude_node_title.settings.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
nid_list: { }
|
||||
translation_sync: true
|
||||
search: false
|
||||
_core:
|
||||
default_config_hash: tFcyNjovmdPA1ZVm7j2Iymt809j-r2F5uSDJAOI_QV8
|
||||
content_types:
|
||||
landing_page: user
|
||||
content_type_modes:
|
||||
landing_page:
|
||||
- full
|
|
@ -0,0 +1,50 @@
|
|||
uuid: 9cf88342-e4b2-4f30-9737-1e03036dcfc2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_body_paragraph
|
||||
- node.type.landing_page
|
||||
- paragraphs.paragraphs_type.file
|
||||
- paragraphs.paragraphs_type.image
|
||||
- paragraphs.paragraphs_type.slide
|
||||
- paragraphs.paragraphs_type.text
|
||||
module:
|
||||
- entity_reference_revisions
|
||||
_core:
|
||||
default_config_hash: SY6szifQZxW4ucxM-P_RlOcopaMTOymNXiEZPLSvDec
|
||||
id: node.landing_page.field_body_paragraph
|
||||
field_name: field_body_paragraph
|
||||
entity_type: node
|
||||
bundle: landing_page
|
||||
label: 'Body paragraph'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:paragraph'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
text: text
|
||||
file: file
|
||||
image: image
|
||||
slide: slide
|
||||
target_bundles_drag_drop:
|
||||
text:
|
||||
enabled: true
|
||||
weight: -9
|
||||
file:
|
||||
enabled: true
|
||||
weight: -8
|
||||
image:
|
||||
enabled: true
|
||||
weight: -7
|
||||
update:
|
||||
weight: -6
|
||||
enabled: false
|
||||
slide:
|
||||
enabled: true
|
||||
weight: 8
|
||||
field_type: entity_reference_revisions
|
|
@ -0,0 +1,25 @@
|
|||
uuid: 93ace921-d148-4ad6-8750-e76679c9402c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_meta_tags
|
||||
- node.type.landing_page
|
||||
module:
|
||||
- metatag
|
||||
_core:
|
||||
default_config_hash: 0TxksFlbv1taSWO5o9DKYQD7j4RPtqVhI7iV_bEGjTQ
|
||||
id: node.landing_page.field_meta_tags
|
||||
field_name: field_meta_tags
|
||||
entity_type: node
|
||||
bundle: landing_page
|
||||
label: 'Meta tags'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value:
|
||||
-
|
||||
value: 'a:0:{}'
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: metatag
|
20
config/sync/node.type.landing_page.yml
Normal file
20
config/sync/node.type.landing_page.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uuid: c9f94913-145e-42d9-ace1-4e4db790d483
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- menu_ui
|
||||
third_party_settings:
|
||||
menu_ui:
|
||||
available_menus:
|
||||
- main
|
||||
parent: 'main:'
|
||||
_core:
|
||||
default_config_hash: QECb_5oLjGh317SVZR3QFu-KwYdEVSyCJt5RrxFDRgY
|
||||
name: 'Landing page'
|
||||
type: landing_page
|
||||
description: 'Landing pages can be used for custom pages such as the home page.'
|
||||
help: ''
|
||||
new_revision: true
|
||||
preview_mode: 1
|
||||
display_submitted: false
|
24
config/sync/pathauto.pattern.node_landing_page.yml
Normal file
24
config/sync/pathauto.pattern.node_landing_page.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
uuid: ef6f1477-7e02-4e4f-b572-a63528c68d1d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
_core:
|
||||
default_config_hash: wUpPksQmnec902szX_9DPHUMSVP9dfU1nJ8AX1UGFFk
|
||||
id: node_landing_page
|
||||
label: 'Node landing page'
|
||||
type: 'canonical_entities:node'
|
||||
pattern: '[node:title]'
|
||||
selection_criteria:
|
||||
e3e7a232-e1e0-455e-8b69-c99b582dc4f0:
|
||||
id: node_type
|
||||
bundles:
|
||||
landing_page: landing_page
|
||||
negate: false
|
||||
context_mapping:
|
||||
node: node
|
||||
uuid: e3e7a232-e1e0-455e-8b69-c99b582dc4f0
|
||||
selection_logic: and
|
||||
weight: -5
|
||||
relationships: { }
|
|
@ -21,6 +21,7 @@ permissions:
|
|||
- 'diff view changes'
|
||||
- 'search Google CSE'
|
||||
- 'search content'
|
||||
- 'use exclude node title'
|
||||
- 'use text format 1'
|
||||
- 'use text format 3'
|
||||
- 'view disqus comments'
|
||||
|
|
|
@ -27,6 +27,7 @@ permissions:
|
|||
- 'edit own forum content'
|
||||
- 'edit own weblinks'
|
||||
- 'search content'
|
||||
- 'use exclude node title'
|
||||
- 'use text format 1'
|
||||
- 'use text format 3'
|
||||
- 'view disqus comments'
|
||||
|
|
|
@ -141,6 +141,7 @@ permissions:
|
|||
- 'unflag slider'
|
||||
- 'upload files'
|
||||
- 'use advanced search'
|
||||
- 'use exclude node title'
|
||||
- 'use text format 3'
|
||||
- 'view files'
|
||||
- 'view revisions'
|
||||
|
|
|
@ -26,4 +26,5 @@ permissions:
|
|||
- 'edit own people content'
|
||||
- 'edit terms in tags'
|
||||
- 'skip comment approval'
|
||||
- 'use exclude node title'
|
||||
- 'view the administration theme'
|
||||
|
|
|
@ -30,6 +30,7 @@ permissions:
|
|||
- 'delete all revisions'
|
||||
- 'revert all revisions'
|
||||
- 'skip comment approval'
|
||||
- 'use exclude node title'
|
||||
- 'use text format restricted_html'
|
||||
- 'view all revisions'
|
||||
- 'view own unpublished content'
|
||||
|
|
|
@ -39,6 +39,7 @@ permissions:
|
|||
- 'toggle disqus comments'
|
||||
- 'translate interface'
|
||||
- 'upload files'
|
||||
- 'use exclude node title'
|
||||
- 'use text format 3'
|
||||
- 'view files'
|
||||
- 'view own unpublished content'
|
||||
|
|
|
@ -41,6 +41,7 @@ permissions:
|
|||
- 'edit gdpr_checklist checklistapi checklist'
|
||||
- 'revert all revisions'
|
||||
- 'skip comment approval'
|
||||
- 'use exclude node title'
|
||||
- 'use text format restricted_html'
|
||||
- 'view all revisions'
|
||||
- 'view own unpublished content'
|
||||
|
|
|
@ -37,6 +37,7 @@ permissions:
|
|||
- 'toggle disqus comments'
|
||||
- 'translate interface'
|
||||
- 'use advanced search'
|
||||
- 'use exclude node title'
|
||||
- 'use text format 3'
|
||||
- 'view files'
|
||||
- 'view revisions'
|
||||
|
|
Loading…
Add table
Reference in a new issue