oliverdavies.uk-drupal-old/config/default/core.entity_form_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

134 lines
2.8 KiB
YAML

uuid: ad5e0f3b-ff9c-46ba-8646-99ea66882119
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:
- media_library
- path
- text
id: node.post.default
targetEntityType: node
bundle: post
mode: default
content:
body:
type: text_textarea_with_summary
weight: 8
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
region: content
created:
type: datetime_timestamp
weight: 2
region: content
settings: { }
third_party_settings: { }
field_excerpt:
weight: 11
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_has_tweet:
weight: 26
settings:
display_label: true
third_party_settings: { }
type: boolean_checkbox
region: content
field_images:
weight: 9
settings:
media_types: { }
third_party_settings: { }
type: media_library_widget
region: content
field_series:
weight: 12
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_tags:
weight: 10
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete_tags
region: content
path:
type: path
weight: 5
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 3
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 7
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 4
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 1
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
url_redirects:
weight: 6
region: content
settings: { }
third_party_settings: { }
hidden:
field_external_link: true
field_sent_to_social_media: true