Add field_topic to podcast episodes
This commit is contained in:
parent
172eae44c4
commit
52278c3a53
5 changed files with 69 additions and 11 deletions
|
@ -7,6 +7,7 @@ dependencies:
|
||||||
- field.field.node.podcast_episode.field_episode_number
|
- field.field.node.podcast_episode.field_episode_number
|
||||||
- field.field.node.podcast_episode.field_episode_recording
|
- field.field.node.podcast_episode.field_episode_recording
|
||||||
- field.field.node.podcast_episode.field_podcast_guests
|
- field.field.node.podcast_episode.field_podcast_guests
|
||||||
|
- field.field.node.podcast_episode.field_topic
|
||||||
- node.type.podcast_episode
|
- node.type.podcast_episode
|
||||||
module:
|
module:
|
||||||
- media_library
|
- media_library
|
||||||
|
@ -29,27 +30,27 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
created:
|
created:
|
||||||
type: datetime_timestamp
|
type: datetime_timestamp
|
||||||
weight: 10
|
weight: 4
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_episode_number:
|
field_episode_number:
|
||||||
type: number
|
type: number
|
||||||
weight: 122
|
weight: 12
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_episode_recording:
|
field_episode_recording:
|
||||||
type: media_library_widget
|
type: media_library_widget
|
||||||
weight: 121
|
weight: 11
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
media_types: { }
|
media_types: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_podcast_guests:
|
field_podcast_guests:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 123
|
weight: 13
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
|
@ -57,41 +58,49 @@ content:
|
||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
field_topic:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
path:
|
path:
|
||||||
type: path
|
type: path
|
||||||
weight: 30
|
weight: 8
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
promote:
|
promote:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 15
|
weight: 6
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
simple_sitemap:
|
simple_sitemap:
|
||||||
weight: 10
|
weight: 5
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
status:
|
status:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 120
|
weight: 10
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
sticky:
|
sticky:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
weight: 16
|
weight: 7
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
title:
|
title:
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
weight: -5
|
weight: 0
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -99,7 +108,7 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
uid:
|
uid:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 5
|
weight: 3
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
|
@ -107,4 +116,9 @@ content:
|
||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
url_redirects:
|
||||||
|
weight: 9
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
hidden: { }
|
hidden: { }
|
||||||
|
|
|
@ -7,6 +7,7 @@ dependencies:
|
||||||
- field.field.node.podcast_episode.field_episode_number
|
- field.field.node.podcast_episode.field_episode_number
|
||||||
- field.field.node.podcast_episode.field_episode_recording
|
- field.field.node.podcast_episode.field_episode_recording
|
||||||
- field.field.node.podcast_episode.field_podcast_guests
|
- field.field.node.podcast_episode.field_podcast_guests
|
||||||
|
- field.field.node.podcast_episode.field_topic
|
||||||
- node.type.podcast_episode
|
- node.type.podcast_episode
|
||||||
module:
|
module:
|
||||||
- text
|
- text
|
||||||
|
@ -35,4 +36,5 @@ content:
|
||||||
hidden:
|
hidden:
|
||||||
field_episode_number: true
|
field_episode_number: true
|
||||||
field_podcast_guests: true
|
field_podcast_guests: true
|
||||||
|
field_topic: true
|
||||||
links: true
|
links: true
|
||||||
|
|
|
@ -8,6 +8,7 @@ dependencies:
|
||||||
- field.field.node.podcast_episode.field_episode_number
|
- field.field.node.podcast_episode.field_episode_number
|
||||||
- field.field.node.podcast_episode.field_episode_recording
|
- field.field.node.podcast_episode.field_episode_recording
|
||||||
- field.field.node.podcast_episode.field_podcast_guests
|
- field.field.node.podcast_episode.field_podcast_guests
|
||||||
|
- field.field.node.podcast_episode.field_topic
|
||||||
- node.type.podcast_episode
|
- node.type.podcast_episode
|
||||||
module:
|
module:
|
||||||
- text
|
- text
|
||||||
|
@ -34,3 +35,4 @@ hidden:
|
||||||
field_episode_number: true
|
field_episode_number: true
|
||||||
field_episode_recording: true
|
field_episode_recording: true
|
||||||
field_podcast_guests: true
|
field_podcast_guests: true
|
||||||
|
field_topic: true
|
||||||
|
|
19
config/sync/field.field.node.podcast_episode.field_topic.yml
Normal file
19
config/sync/field.field.node.podcast_episode.field_topic.yml
Normal 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
|
21
config/sync/field.storage.node.field_topic.yml
Normal file
21
config/sync/field.storage.node.field_topic.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue