Skip to content
Snippets Groups Projects
Commit 5ff4d88e authored by Gareth Poole's avatar Gareth Poole
Browse files

Issue #3358346 by gareth.poole: Sector 10 - Default page config and sample content -

remove core article CT
parent 00973ad9
No related branches found
No related tags found
1 merge request!38Issue #3375049 "Upgrade rabbit hole"
Showing with 22 additions and 323 deletions
langcode: en
status: true
dependencies:
config:
- field.field.node.article.body
- field.field.node.article.field_image
- field.field.node.article.field_tags
- image.style.thumbnail
- node.type.article
module:
- image
- path
- text
id: node.article.default
targetEntityType: node
bundle: article
mode: default
content:
body:
type: text_textarea_with_summary
weight: 1
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_image:
type: image_image
weight: 4
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
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: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
langcode: en
status: true
dependencies:
config:
- field.field.node.article.body
- field.field.node.article.field_image
- field.field.node.article.field_tags
- image.style.xl
- node.type.article
module:
- image
- text
- user
id: node.article.default
targetEntityType: node
bundle: article
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
field_image:
type: image
label: hidden
settings:
image_style: xl
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: -1
region: content
field_tags:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 10
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden: { }
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.rss
- field.field.node.article.body
- field.field.node.article.field_image
- field.field.node.article.field_tags
- node.type.article
module:
- user
id: node.article.rss
targetEntityType: node
bundle: article
mode: rss
content:
links:
weight: 100
region: content
hidden:
body: true
field_image: true
field_tags: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.article.body
- field.field.node.article.field_image
- field.field.node.article.field_tags
- image.style.md
- node.type.article
module:
- image
- text
- user
id: node.article.teaser
targetEntityType: node
bundle: article
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 0
region: content
field_image:
type: image
label: hidden
settings:
image_style: md
image_link: content
image_loading:
attribute: lazy
third_party_settings: { }
weight: -1
region: content
field_tags:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 10
region: content
links:
weight: 100
region: content
hidden:
field_image: true
field_tags: true
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.article
module:
- text
id: node.article.body
field_name: body
entity_type: node
bundle: article
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
field_type: text_with_summary
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_image
- node.type.article
module:
- image
id: node.article.field_image
field_name: field_image
entity_type: node
bundle: article
label: Image
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
field_type: image
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_tags
- node.type.article
- taxonomy.vocabulary.tags
id: node.article.field_tags
field_name: field_tags
entity_type: node
bundle: article
label: Tags
description: 'Enter a comma-separated list. For example: Amsterdam, Mexico City, "Cleveland, Ohio"'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
tags: tags
sort:
field: _none
auto_create: true
field_type: entity_reference
langcode: en
status: true
dependencies: { }
name: Article
type: article
description: 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'
help: ''
new_revision: true
preview_mode: 1
display_submitted: true
......@@ -2,7 +2,6 @@ langcode: en
status: true
dependencies:
config:
- node.type.article
- node.type.page
- taxonomy.vocabulary.tags
module:
......@@ -24,15 +23,11 @@ permissions:
- 'access files overview'
- 'access toolbar'
- 'administer url aliases'
- 'create article content'
- 'create page content'
- 'create terms in tags'
- 'create url aliases'
- 'delete article revisions'
- 'delete own article content'
- 'delete own page content'
- 'delete page revisions'
- 'edit own article content'
- 'edit own page content'
- 'edit terms in tags'
- 'revert all revisions'
......
langcode: en
status: true
dependencies:
config:
- node.type.sector_news
module:
- contextual
- file
- node
- path
- system
- taxonomy
- toolbar
id: content_editor
label: 'Content editor'
weight: 2
is_admin: false
permissions:
- 'create sector_news content'
- 'delete own sector_news content'
- 'delete sector_news revisions'
- 'edit own sector_news content'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment