Speaker profile tweaks

This commit is contained in:
Rob Davies 2017-05-26 10:05:19 +01:00
parent 564149e6d8
commit 7e86175a11
11 changed files with 64 additions and 15 deletions

View file

@ -28,23 +28,16 @@ content:
third_party_settings: { }
region: content
field_drupal_org_handle:
weight: 5
weight: 4
label: inline
settings:
link_to_entity: false
third_party_settings: { }
type: string
region: content
field_email_address:
weight: 3
label: hidden
settings: { }
third_party_settings: { }
type: email_mailto
region: content
field_organisation:
weight: 2
label: hidden
label: inline
settings:
link_to_entity: false
third_party_settings: { }
@ -60,7 +53,7 @@ content:
type: image
region: content
field_twitter_handle:
weight: 4
weight: 3
label: inline
settings:
link_to_entity: false
@ -68,4 +61,5 @@ content:
type: string
region: content
hidden:
field_email_address: true
links: true

View file

@ -38,7 +38,7 @@ content:
region: content
field_organisation:
weight: 2
label: hidden
label: inline
settings:
link_to_entity: false
third_party_settings: { }

View file

@ -0,0 +1,24 @@
uuid: e87e5b5c-f50a-43b3-b448-18a6d12d45b4
langcode: en
status: true
dependencies:
module:
- node
id: general_content
label: 'General content'
type: 'canonical_entities:node'
pattern: '[node:content-type]/[node:title]'
selection_criteria:
ff6298b2-6b2c-4374-945f-45f55f7f3252:
id: node_type
bundles:
session: session
speaker: speaker
sponsor: sponsor
negate: false
context_mapping:
node: node
uuid: ff6298b2-6b2c-4374-945f-45f55f7f3252
selection_logic: and
weight: -5
relationships: { }

View file

@ -3,13 +3,13 @@ langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.speaker_profile
- field.storage.node.body
- field.storage.node.field_drupal_org_handle
- field.storage.node.field_organisation
- field.storage.node.field_profile_picture
- field.storage.node.field_twitter_handle
- image.style.speaker_profile_large
- image.style.speaker_profile_small
- node.type.speaker
module:
- image
@ -63,7 +63,10 @@ display:
style:
type: default
row:
type: fields
type: 'entity:node'
options:
relationship: none
view_mode: speaker_profile
fields:
title:
id: title