Add field_topic to podcast episodes

This commit is contained in:
Oliver Davies 2025-05-30 01:06:31 +01:00
parent 172eae44c4
commit 52278c3a53
5 changed files with 69 additions and 11 deletions

View file

@ -7,6 +7,7 @@ dependencies:
- field.field.node.podcast_episode.field_episode_number
- field.field.node.podcast_episode.field_episode_recording
- field.field.node.podcast_episode.field_podcast_guests
- field.field.node.podcast_episode.field_topic
- node.type.podcast_episode
module:
- media_library
@ -29,27 +30,27 @@ content:
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
weight: 4
region: content
settings: { }
third_party_settings: { }
field_episode_number:
type: number
weight: 122
weight: 12
region: content
settings:
placeholder: ''
third_party_settings: { }
field_episode_recording:
type: media_library_widget
weight: 121
weight: 11
region: content
settings:
media_types: { }
third_party_settings: { }
field_podcast_guests:
type: entity_reference_autocomplete
weight: 123
weight: 13
region: content
settings:
match_operator: CONTAINS
@ -57,41 +58,49 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_topic:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
weight: 8
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
simple_sitemap:
weight: 10
weight: 5
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
@ -99,7 +108,7 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
weight: 3
region: content
settings:
match_operator: CONTAINS
@ -107,4 +116,9 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 9
region: content
settings: { }
third_party_settings: { }
hidden: { }

View file

@ -7,6 +7,7 @@ dependencies:
- field.field.node.podcast_episode.field_episode_number
- field.field.node.podcast_episode.field_episode_recording
- field.field.node.podcast_episode.field_podcast_guests
- field.field.node.podcast_episode.field_topic
- node.type.podcast_episode
module:
- text
@ -35,4 +36,5 @@ content:
hidden:
field_episode_number: true
field_podcast_guests: true
field_topic: true
links: true

View file

@ -8,6 +8,7 @@ dependencies:
- field.field.node.podcast_episode.field_episode_number
- field.field.node.podcast_episode.field_episode_recording
- field.field.node.podcast_episode.field_podcast_guests
- field.field.node.podcast_episode.field_topic
- node.type.podcast_episode
module:
- text
@ -34,3 +35,4 @@ hidden:
field_episode_number: true
field_episode_recording: true
field_podcast_guests: true
field_topic: true

View file

@ -0,0 +1,19 @@
uuid: 220bd2c1-383e-491b-a58f-df61fc14bff9
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_topic
- node.type.podcast_episode
id: node.podcast_episode.field_topic
field_name: field_topic
entity_type: node
bundle: podcast_episode
label: Topic
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View file

@ -0,0 +1,21 @@
uuid: 18e19702-1f24-4ddd-94b6-ce2cbb01cf40
langcode: en
status: true
dependencies:
module:
- node
id: node.field_topic
field_name: field_topic
entity_type: node
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false