Commit 9112ac2f authored by Rosemary Mann's avatar Rosemary Mann

Issue #13: Configure view modes.

parent 59f8a8ec
......@@ -26,7 +26,7 @@ bundle: group
mode: default
content:
field_group_address:
weight: 7
weight: 10
settings:
default_country: null
third_party_settings: { }
......@@ -45,7 +45,7 @@ content:
third_party_settings: { }
region: content
field_group_email:
weight: 5
weight: 8
settings:
size: 60
placeholder: ''
......@@ -61,7 +61,7 @@ content:
type: image_image
region: content
field_group_phone:
weight: 6
weight: 7
settings:
placeholder: ''
third_party_settings: { }
......@@ -82,7 +82,7 @@ content:
type: options_select
region: content
field_group_website:
weight: 8
weight: 9
settings:
placeholder_url: ''
placeholder_title: ''
......@@ -99,7 +99,7 @@ content:
region: content
path:
type: path
weight: 9
weight: 10
settings: { }
third_party_settings: { }
region: content
......
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.group.full
- field.field.group.group.field_group_address
- field.field.group.group.field_group_description
- field.field.group.group.field_group_email
- field.field.group.group.field_group_image
- field.field.group.group.field_group_phone
- field.field.group.group.field_group_summary
- field.field.group.group.field_group_type
- field.field.group.group.field_group_website
- group.type.group
- responsive_image.styles.wide
module:
- address
- ds
- entity_reference_revisions
- link
- responsive_image
- telephone
third_party_settings:
ds:
layout:
id: ds_3col_stacked
library: ds/ds_3col_stacked
disable_css: true
entity_classes: all_classes
settings:
wrappers:
header: div
left: div
middle: div
right: div
footer: div
outer_wrapper: div
attributes: ''
link_attribute: ''
link_custom: ''
classes:
layout_class: { }
regions:
header:
- field_group_image
left:
- field_group_email
- field_group_phone
- field_group_website
- field_group_address
middle:
- label
- field_group_description
- field_group_type
id: group.group.full
targetEntityType: group
bundle: group
mode: full
content:
field_group_address:
weight: 4
label: above
settings: { }
third_party_settings: { }
type: address_default
region: left
field_group_description:
type: entity_reference_revisions_entity_view
weight: 6
label: visually_hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
region: middle
field_group_email:
weight: 1
label: inline
settings: { }
third_party_settings: { }
type: email_mailto
region: left
field_group_image:
weight: 0
label: visually_hidden
settings:
responsive_image_style: wide
image_link: ''
third_party_settings: { }
type: responsive_image
region: header
field_group_phone:
weight: 2
label: inline
settings:
title: ''
third_party_settings: { }
type: telephone_link
region: left
field_group_type:
type: entity_reference_label
weight: 7
region: middle
label: visually_hidden
settings:
link: true
third_party_settings: { }
field_group_website:
weight: 3
label: inline
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
type: link_separate
region: left
label:
label: visually_hidden
type: string
weight: 5
settings:
link_to_entity: true
third_party_settings: { }
region: middle
hidden:
changed: true
created: true
field_group_summary: true
uid: true
......@@ -3,6 +3,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.group.teaser
- field.field.group.group.field_group_address
- field.field.group.group.field_group_description
- field.field.group.group.field_group_email
- field.field.group.group.field_group_image
......@@ -11,22 +12,22 @@ dependencies:
- field.field.group.group.field_group_type
- field.field.group.group.field_group_website
- group.type.group
- image.style.small_square
- responsive_image.styles.narrow
module:
- ds
- image
- responsive_image
- text
third_party_settings:
ds:
layout:
id: ds_1col
path: modules/contrib/ds
library: ''
disable_css: false
id: ds_2col
library: ds/ds_2col
disable_css: true
entity_classes: all_classes
settings:
wrappers:
ds_content: div
left: div
right: div
outer_wrapper: div
attributes: ''
link_attribute: ''
......@@ -34,8 +35,9 @@ third_party_settings:
classes:
layout_class: { }
regions:
ds_content:
left:
- field_group_image
right:
- label
- field_group_summary
id: group.group.teaser
......@@ -44,32 +46,33 @@ bundle: group
mode: teaser
content:
field_group_image:
type: image
type: responsive_image
weight: 0
label: hidden
label: visually_hidden
settings:
image_style: small_square
responsive_image_style: narrow
image_link: content
third_party_settings: { }
region: ds_content
region: left
field_group_summary:
type: text_default
weight: 2
label: hidden
label: visually_hidden
settings: { }
third_party_settings: { }
region: ds_content
region: right
label:
label: hidden
label: visually_hidden
type: string
weight: 1
settings:
link_to_entity: true
third_party_settings: { }
region: ds_content
region: right
hidden:
changed: true
created: true
field_group_address: true
field_group_description: true
field_group_email: true
field_group_phone: true
......
langcode: en
status: true
dependencies:
module:
- group
id: group.full
label: 'Full content'
targetEntityType: group
cache: true
......@@ -231,7 +231,21 @@ display:
entity_type: group
entity_field: type
plugin_id: bundle
sorts: { }
sorts:
label:
id: label
table: groups_field_data
field: label
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
entity_type: group
entity_field: label
plugin_id: standard
title: Groups
header: { }
footer: { }
......
......@@ -20,6 +20,7 @@ dependencies:
- paragraphs
- path
- pathauto
- responsive_image
- taxonomy
- telephone
- text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment