Add Send to social media checkbox to posts

Also add it to the `opdavies_blog_test` module config so that the
existing tests continue to work and pass.

References #249
This commit is contained in:
Oliver Davies 2020-10-07 23:01:43 +01:00
parent eb23d93fe0
commit 19c5529094
7 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,23 @@
uuid: d27ec5b4-e52e-4569-988f-31e3de0af32e
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_send_to_social_media
- node.type.post
id: node.post.field_send_to_social_media
field_name: field_send_to_social_media
entity_type: node
bundle: post
label: 'Send to social media'
description: 'Automatically send this post to Twitter and LinkedIn.'
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean