Migrate from field_body to body

This commit is contained in:
Oliver Davies 2025-06-28 13:47:53 +01:00
parent b9ffd0bad6
commit d7629f1b32
54 changed files with 78 additions and 136 deletions

View file

@ -3,7 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.presentation.field_body
- field.field.node.presentation.body
- field.field.node.presentation.field_events
- node.type.presentation
module:
@ -15,15 +15,9 @@ targetEntityType: node
bundle: presentation
mode: default
content:
created:
type: datetime_timestamp
weight: 2
region: content
settings: { }
third_party_settings: { }
field_body:
body:
type: text_textarea_with_summary
weight: 8
weight: 2
region: content
settings:
rows: 9
@ -31,6 +25,12 @@ content:
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 2
region: content
settings: { }
third_party_settings: { }
field_events:
type: paragraphs
weight: 9
@ -101,4 +101,9 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
region: content
settings: { }
third_party_settings: { }
hidden: { }

View file

@ -3,7 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.presentation.field_body
- field.field.node.presentation.body
- field.field.node.presentation.field_events
- node.type.presentation
module:
@ -15,9 +15,9 @@ targetEntityType: node
bundle: presentation
mode: default
content:
field_body:
body:
type: text_default
label: above
label: hidden
settings: { }
third_party_settings: { }
weight: 0

View file

@ -0,0 +1,32 @@
uuid: 3990c095-c163-4100-8599-b1b0e5a29843
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.presentation.body
- field.field.node.presentation.field_events
- node.type.presentation
module:
- text
- user
id: node.presentation.teaser
targetEntityType: node
bundle: presentation
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
field_events: true

View file

@ -1,30 +1,28 @@
uuid: cc599835-0c43-4f36-b5b3-ad7fc4db1563
uuid: 2763e469-0dfb-4d01-86e4-4fca0507df80
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_body
- field.storage.node.body
- filter.format.basic_html
- filter.format.full_html
- filter.format.restricted_html
- filter.format.markdown
- node.type.presentation
module:
- text
id: node.presentation.field_body
field_name: field_body
id: node.presentation.body
field_name: body
entity_type: node
bundle: presentation
label: Body
description: ''
required: false
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: true
required_summary: false
allowed_formats:
- markdown
- basic_html
- restricted_html
- full_html
field_type: text_with_summary

View file

@ -1,19 +0,0 @@
uuid: 60434000-73e1-4ff1-9376-6759a817421a
langcode: en
status: true
dependencies:
module:
- node
- text
id: node.field_body
field_name: field_body
entity_type: node
type: text_with_summary
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -18,7 +18,7 @@
],
"revision_timestamp": [
{
"value": "2025-05-11T06:12:41+00:00"
"value": "2025-06-28T12:45:26+00:00"
}
],
"revision_uid": [
@ -51,7 +51,7 @@
],
"changed": [
{
"value": "2025-05-11T06:12:41+00:00"
"value": "2025-06-28T12:45:26+00:00"
}
],
"promote": [
@ -80,11 +80,11 @@
"langcode": "en"
}
],
"field_body": [
"body": [
{
"value": "<p>After speaking at a recent meetup, I was asked by an attending lecturer to give a presentation to a group of around 40 BTEC Computing students about web development and my experience in the industry.<\/p><p>This was a 90 minute session plus additional Q&amp;A, including demos of building a static website with HTML and CSS, using a static site generator (Sculpin) and a content management system (Drupal).<\/p>",
"format": "basic_html",
"processed": "<p>After speaking at a recent meetup, I was asked by an attending lecturer to give a presentation to a group of around 40 BTEC Computing students about web development and my experience in the industry.<\/p><p>This was a 90 minute session plus additional Q&amp;A, including demos of building a static website with HTML and CSS, using a static site generator (Sculpin) and a content management system (Drupal).<\/p>",
"value": "After speaking at a recent meetup, I was asked by an attending lecturer to give a presentation to a group of around 40 BTEC Computing students about web development and my experience in the industry.\r\n\r\nThis was a 90 minute session plus additional Q&A, including demos of building a static website with HTML and CSS, using a static site generator (Sculpin) and a content management system (Drupal).",
"format": "markdown",
"processed": "<p>After speaking at a recent meetup, I was asked by an attending lecturer to give a presentation to a group of around 40 BTEC Computing students about web development and my experience in the industry.<\/p>\n<p>This was a 90 minute session plus additional Q&amp;A, including demos of building a static website with HTML and CSS, using a static site generator (Sculpin) and a content management system (Drupal).<\/p>\n",
"summary": "I was asked to speak to a group of 40 BTEC Computing students at Reading College."
}
],

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -18,7 +18,7 @@
],
"revision_timestamp": [
{
"value": "2025-04-29T17:07:54+00:00"
"value": "2025-06-28T12:45:59+00:00"
}
],
"revision_uid": [
@ -51,7 +51,7 @@
],
"changed": [
{
"value": "2025-04-29T17:07:54+00:00"
"value": "2025-06-28T12:45:59+00:00"
}
],
"promote": [
@ -80,11 +80,11 @@
"langcode": "en"
}
],
"field_body": [
"body": [
{
"value": "<p><a href=\"http:\/\/sculpin.io\">Sculpin<\/a> is a static site generator written in PHP. It converts Markdown files, Twig templates and standard HTML into a static HTML site that can be easily deployed.<\/p><p>This talk will cover a little of the background to Sculpin and what it is, and then will move into some demonstrations of how to build a Sculpin site and what it can do!<\/p>",
"format": "basic_html",
"processed": "<p><a href=\"http:\/\/sculpin.io\">Sculpin<\/a> is a static site generator written in PHP. It converts Markdown files, Twig templates and standard HTML into a static HTML site that can be easily deployed.<\/p><p>This talk will cover a little of the background to Sculpin and what it is, and then will move into some demonstrations of how to build a Sculpin site and what it can do!<\/p>",
"value": "Sculpin is a static site generator written in PHP. It converts Markdown files, Twig templates and standard HTML into a static HTML site that can be easily deployed.\r\n\r\nThis talk will cover a little of the background to Sculpin and what it is, and then will move into some demonstrations of how to build a Sculpin site and what it can do!",
"format": "markdown",
"processed": "<p>Sculpin is a static site generator written in PHP. It converts Markdown files, Twig templates and standard HTML into a static HTML site that can be easily deployed.<\/p>\n<p>This talk will cover a little of the background to Sculpin and what it is, and then will move into some demonstrations of how to build a Sculpin site and what it can do!<\/p>\n",
"summary": "How to use Sculpin to generate static HTML websites."
}
],

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -80,6 +80,5 @@
"langcode": "en"
}
],
"field_body": [],
"field_events": []
}

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2021-12-09"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2015-10-14"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2024-02-14"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2024-08-28"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2021-09-07"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2024-05-23"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2025-05-09"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2021-08-19"

View file

@ -32,11 +32,7 @@
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"revision_translation_affected": [],
"field_date": [
{
"value": "2025-03-20"