Enable Drutopia Page & Related Content modules

This commit is contained in:
benjamin melançon 2019-07-29 08:12:36 -04:00
parent 3815e68e28
commit 132393b48e
16 changed files with 807 additions and 0 deletions

View file

@ -0,0 +1,42 @@
uuid: b9b6852b-7704-40bf-bd82-9dc5247b84cc
langcode: en
status: true
dependencies:
config:
- views.view.related_content
module:
- block_visibility_groups
- ctools
- views
theme:
- octavia
_core:
default_config_hash: MRx48Mtce75hvDAK9VAUIcM1HZnpBlYuDp-SsC5kf2w
id: views_block__related_content_block_related_content
theme: octavia
region: content
weight: 10
provider: null
plugin: 'views_block:related_content-block_related_content'
settings:
id: 'views_block:related_content-block_related_content'
label: ''
provider: views
label_display: visible
views_label: ''
items_per_page: none
context_mapping: { }
visibility:
condition_group:
id: condition_group
negate: false
block_visibility_group: ''
context_mapping: { }
'entity_bundle:node':
id: 'entity_bundle:node'
bundles:
landing_page: landing_page
people: people
negate: true
context_mapping:
node: '@node.node_route_context:node'

View file

@ -0,0 +1,24 @@
uuid: 9148c8a1-c369-4296-ae14-694fd8d1bb8b
langcode: en
status: true
dependencies:
config:
- node.type.page
_core:
default_config_hash: fPUEnm4T5zfZRr3ttDUqq7yCDd2uW3clWD-pvos4tlQ
id: node.page.promote
field_name: promote
entity_type: node
bundle: page
label: 'Promoted to front page'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

View file

@ -0,0 +1,93 @@
uuid: 631e6ae7-7bfc-43d0-b92e-89b2bcf623ff
langcode: en
status: true
dependencies:
config:
- field.field.node.page.body
- field.field.node.page.field_body_paragraph
- field.field.node.page.field_meta_tags
- field.field.node.page.field_summary
- node.type.page
module:
- metatag
- paragraphs
- path
- text
_core:
default_config_hash: DXpqWD2VXXj8e4FwLE0Tbve9tofr_BEb7_U8p4Zdbis
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content:
created:
type: datetime_timestamp
weight: 4
settings: { }
third_party_settings: { }
region: content
field_body_paragraph:
weight: 2
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: button
form_display_mode: default
default_paragraph_type: text
third_party_settings: { }
type: entity_reference_paragraphs
region: content
field_meta_tags:
weight: 6
settings: { }
third_party_settings: { }
type: metatag_firehose
region: content
field_summary:
weight: 1
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
path:
type: path
weight: 5
settings: { }
third_party_settings: { }
region: content
status:
type: boolean_checkbox
settings:
display_label: true
weight: 7
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
uid:
type: entity_reference_autocomplete
weight: 3
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
region: content
url_redirects:
weight: 50
settings: { }
third_party_settings: { }
region: content
hidden:
body: true
promote: true
sticky: true

View file

@ -0,0 +1,44 @@
uuid: a31de69e-9053-494c-9c73-bcaf4bce5026
langcode: en
status: true
dependencies:
config:
- field.field.node.page.body
- field.field.node.page.field_body_paragraph
- field.field.node.page.field_meta_tags
- field.field.node.page.field_summary
- node.type.page
module:
- ds
- 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: { }
_core:
default_config_hash: 9nmRao0UFQtmO6lONrWp9ITjFaO41GzV-xJczx0qjKg
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content: { }
hidden:
body: true
field_body_paragraph: true
field_meta_tags: true
field_summary: true
links: true
search_api_excerpt: true

View file

@ -0,0 +1,62 @@
uuid: f50bf7e6-cfc3-4a18-8c23-eb24ba960330
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.page.body
- field.field.node.page.field_body_paragraph
- field.field.node.page.field_meta_tags
- field.field.node.page.field_summary
- node.type.page
module:
- ds
- entity_reference_revisions
- user
third_party_settings:
ds:
layout:
id: ds_1col
path: modules/contrib/ds
library: ''
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
- links
_core:
default_config_hash: ejxo55vENzO8ZHuGrkj_Np-soJ-olS86ZhSc2taHa2I
id: node.page.full
targetEntityType: node
bundle: page
mode: full
content:
field_body_paragraph:
weight: 1
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
type: entity_reference_revisions_entity_view
region: ds_content
links:
weight: 2
settings: { }
third_party_settings: { }
region: ds_content
hidden:
body: true
field_meta_tags: true
field_summary: true
search_api_excerpt: true

View file

@ -0,0 +1,65 @@
uuid: 065c21a9-b1b1-467a-9b9b-4a692ce083b7
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.page.body
- field.field.node.page.field_body_paragraph
- field.field.node.page.field_meta_tags
- field.field.node.page.field_summary
- node.type.page
module:
- ds
- text
- 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:
- node_title
- field_summary
fields:
node_title:
plugin_id: node_title
weight: 0
label: hidden
formatter: default
settings:
link: true
wrapper: h2
class: ''
_core:
default_config_hash: BKUufmEYaaN3co_7-bdlsJm6bUHORrPYYf_FYmthy4g
id: node.page.teaser
targetEntityType: node
bundle: page
mode: teaser
content:
field_summary:
type: text_default
weight: 1
label: hidden
settings: { }
third_party_settings: { }
region: ds_content
hidden:
body: true
field_body_paragraph: true
field_meta_tags: true
links: true
search_api_excerpt: true

View file

@ -34,7 +34,9 @@ module:
drutopia_blog: 0
drutopia_comment: 0
drutopia_core: 0
drutopia_page: 0
drutopia_people: 0
drutopia_related_content: 0
drutopia_seo: 0
drutopia_site: 0
dynamic_page_cache: 0
@ -75,6 +77,7 @@ module:
search_api_db: 0
serialization: 0
shortcut: 0
similarterms: 0
subprofiles: 0
system: 0
taxonomy: 0

View file

@ -0,0 +1,24 @@
uuid: 51d8da86-6774-4803-b226-f96d2c63ef32
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.page
module:
- text
_core:
default_config_hash: rUop-8b6hvxxDYbv-KobTfNIBNbPY9qOPl8f6kBNSpw
id: node.page.body
field_name: body
entity_type: node
bundle: page
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
field_type: text_with_summary

View file

@ -0,0 +1,63 @@
uuid: 95494cd5-a374-4645-8791-85c66e4a5ab0
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_body_paragraph
- node.type.page
- paragraphs.paragraphs_type.faq
- paragraphs.paragraphs_type.file
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.slide
- paragraphs.paragraphs_type.text
- paragraphs.paragraphs_type.update
- paragraphs.paragraphs_type.video
module:
- entity_reference_revisions
_core:
default_config_hash: HJYh7swNX1LRKal9y5OKiapYOWv17eglY8LI3vJaEug
id: node.page.field_body_paragraph
field_name: field_body_paragraph
entity_type: node
bundle: page
label: 'Body paragraph'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
negate: 0
target_bundles:
text: text
image: image
file: file
video: video
slide: slide
update: update
faq: faq
target_bundles_drag_drop:
text:
enabled: true
weight: -15
image:
enabled: true
weight: -14
file:
enabled: true
weight: -13
video:
enabled: true
weight: -12
slide:
enabled: true
weight: -11
update:
enabled: true
weight: -10
faq:
enabled: true
weight: -9
field_type: entity_reference_revisions

View file

@ -0,0 +1,25 @@
uuid: 1f2e3293-dc06-4eeb-8f22-89e5f0fe11be
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_meta_tags
- node.type.page
module:
- metatag
_core:
default_config_hash: n2TFzOb_KtFLLjQrHXe-YhLMnwPwXTqsBVkr0aTK_EA
id: node.page.field_meta_tags
field_name: field_meta_tags
entity_type: node
bundle: page
label: 'Meta tags'
description: ''
required: false
translatable: true
default_value:
-
value: 'a:0:{}'
default_value_callback: ''
settings: { }
field_type: metatag

View file

@ -0,0 +1,23 @@
uuid: 9d3766c5-7c8c-4870-adb7-7ad97c2641bd
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_summary
- node.type.page
module:
- text
_core:
default_config_hash: 0QS4bKzGTNSPRq3kw1T6TZWQEPUhqzcXsg5FyiDZb1M
id: node.page.field_summary
field_name: field_summary
entity_type: node
bundle: page
label: Summary
description: 'Enter a short description of what this page is about. The summary is visible in certain displays.'
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View file

@ -0,0 +1,21 @@
uuid: 42ef8845-999a-4d78-9252-d830e0c32f06
langcode: en
status: true
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus:
- footer
- main
parent: 'main:'
_core:
default_config_hash: FLnYNEOFyPHOO79AfbXqzGMZqlENS8dZ8-vDJW9e-Lk
name: 'Basic page'
type: page
description: 'Use <em>basic pages</em> for your static content, such as an ''About us'' page.'
help: ''
new_revision: true
preview_mode: 1
display_submitted: false

View file

@ -0,0 +1,24 @@
uuid: 1dcd49b2-e32a-4909-881b-b869108c89e5
langcode: en
status: true
dependencies:
module:
- node
_core:
default_config_hash: psHGXcNRB-jcfbKD4_rCZ8sngtsZcEzlb4Bfy5SNt88
id: node_page
label: 'Node page'
type: 'canonical_entities:node'
pattern: '[node:title]'
selection_criteria:
2e17ea21-8c33-444d-981e-2a2df6651647:
id: node_type
bundles:
page: page
negate: false
context_mapping:
node: node
uuid: 2e17ea21-8c33-444d-981e-2a2df6651647
selection_logic: and
weight: -5
relationships: { }

View file

@ -0,0 +1,43 @@
uuid: f9bb6226-ead3-4e80-8dbb-b130224978fd
langcode: en
status: true
dependencies:
config:
- node.type.page
module:
- node
_core:
default_config_hash: 32LxRnl4Wesvzqyfp7HnD0-U9-wxrLBn76pqY5XGNAE
id: node.page
targetEntityType: node
bundle: page
types:
- 'schema:WebPage'
fieldMappings:
title:
properties:
- 'schema:name'
created:
properties:
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
body:
properties:
- 'schema:text'
uid:
properties:
- 'schema:author'
mapping_type: rel
comment_count:
properties:
- 'schema:interactionCount'
datatype_callback:
callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'
arguments:
interaction_type: UserComments

View file

@ -13,13 +13,16 @@ permissions:
- 'access in-place editing'
- 'create article content'
- 'create blog content'
- 'create page content'
- 'create people content'
- 'delete own article content'
- 'delete own blog content'
- 'delete own page content'
- 'delete own people content'
- 'edit own article content'
- 'edit own blog content'
- 'edit own comments'
- 'edit own page content'
- 'edit own people content'
- 'edit terms in tags'
- 'skip comment approval'

View file

@ -0,0 +1,248 @@
uuid: 155dea5d-5ae0-413c-bb19-038dc26fec03
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.simple_card
module:
- node
- similarterms
- user
_core:
default_config_hash: rGO0A5KU_CZxk43tnVHaitYN67hEzy715AAKWwCBrJM
id: related_content
label: 'Related content'
module: views
description: 'Related content based on similar terms.'
tag: ''
base_table: node_field_data
base_field: nid
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: some
options:
items_per_page: 4
offset: 0
style:
type: default
options:
row_class: ''
default_row_class: false
uses_fields: false
row:
type: 'entity:node'
options:
relationship: none
view_mode: simple_card
fields:
title:
id: title
table: node_field_data
field: title
entity_type: node
entity_field: title
label: ''
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
html: false
hide_empty: false
empty_zero: false
settings:
link_to_entity: true
plugin_id: field
relationship: none
group_type: group
admin_label: ''
exclude: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_alter_empty: true
click_sort_column: value
type: string
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
filters:
status:
id: status
table: node_field_data
field: status
relationship: none
group_type: group
admin_label: ''
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
plugin_id: boolean
entity_type: node
entity_field: status
sorts:
similarterms:
id: similarterms
table: node
field: similarterms
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
entity_type: node
plugin_id: similar_terms_sort
header: { }
footer: { }
empty: { }
relationships: { }
arguments:
similar_nid:
id: similar_nid
table: node
field: similar_nid
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: 0
vocabularies:
action_type: 0
article_type: 0
event_type: 0
group_type: 0
people_type: 0
resource_type: 0
tags: 0
include_args: 0
entity_type: node
plugin_id: similar_terms_arg
display_extenders: { }
group_by: true
title: 'Related content'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
block_related_content:
display_plugin: block
id: block_related_content
display_title: 'Block Related'
position: 1
display_options:
display_extenders: { }
display_description: ''
block_hide_empty: true
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }