oliverdavies.uk-drupal-old/config/default/core.entity_view_display.node.post.default.yml
Oliver Davies 0f07d3d231 Add ability to add links to external posts
Add the ability to add links to external blog posts within my blog feed.
This is done based on a new `field_external_link` field that allows for
adding the external link URL and the domain name as the title.

The node links are then overridden to use the external link if there is
one, so the node title and 'read more' links are changed to use the
external link.

Currently, automated tweets are not generated for external posts.

Fixes #182
2020-08-14 16:43:04 +01:00

58 lines
1.2 KiB
YAML

uuid: 134308d5-6b7b-464e-9e70-ec9e3232fd7a
langcode: en
status: true
dependencies:
config:
- field.field.node.post.body
- field.field.node.post.field_excerpt
- field.field.node.post.field_has_tweet
- field.field.node.post.field_images
- field.field.node.post.field_sent_to_social_media
- field.field.node.post.field_series
- field.field.node.post.field_tags
- node.type.post
module:
- text
- user
id: node.post.default
targetEntityType: node
bundle: post
mode: default
content:
body:
label: hidden
type: text_default
weight: 1
settings: { }
third_party_settings: { }
region: content
field_sent_to_social_media:
weight: 3
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
type: boolean
region: content
field_tags:
weight: 2
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
links:
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
field_excerpt: true
field_external_link: true
field_has_tweet: true
field_images: true
field_series: true