Skip to content

Commit

Permalink
chore(#5): update Wysiwyg paragrap displays
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Oct 4, 2021
1 parent ac155b3 commit 5cb6685
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies:
- image.style.medium
- node.type.article
module:
- entity_reference_revisions
- image
- user
_core:
Expand All @@ -21,9 +22,18 @@ targetEntityType: node
bundle: article
mode: teaser
content:
field_content:
type: entity_reference_revisions_entity_view
weight: 2
region: content
label: hidden
settings:
view_mode: teaser
link: ''
third_party_settings: { }
field_image:
type: image
weight: -1
weight: 0
region: content
settings:
image_style: medium
Expand All @@ -32,18 +42,17 @@ content:
label: hidden
field_tags:
type: entity_reference_label
weight: 10
weight: 1
region: content
settings:
link: true
third_party_settings: { }
label: above
links:
weight: 100
weight: 3
region: content
settings: { }
third_party_settings: { }
hidden:
body: true
comment: true
field_content: true
field_image: true
field_tags: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: d24eb789-b197-4a76-9557-eaa59c2da7c6
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.paragraph.teaser
- field.field.paragraph.wysiwyg.field_content
- paragraphs.paragraphs_type.wysiwyg
module:
- text
id: paragraph.wysiwyg.teaser
targetEntityType: paragraph
bundle: wysiwyg
mode: teaser
content:
field_content:
weight: 0
label: hidden
settings:
trim_length: 200
third_party_settings: { }
type: text_summary_or_trimmed
region: content
hidden: { }
10 changes: 10 additions & 0 deletions drupal/config/sync/core.entity_view_mode.paragraph.teaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
uuid: 86639d6b-82c2-489c-a613-835961d04b75
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.teaser
label: Teaser
targetEntityType: paragraph
cache: true

0 comments on commit 5cb6685

Please sign in to comment.