Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a new URL textfield to the GO Video Paragraph. #1943

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,25 @@ langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_video.field_embed_video
- field.field.paragraph.go_video.field_go_video_title
- field.field.paragraph.go_video.field_url
- paragraphs.paragraphs_type.go_video
module:
- media_library
id: paragraph.go_video.default
targetEntityType: paragraph
bundle: go_video
mode: default
content:
field_embed_video:
type: media_library_widget
weight: 1
field_go_video_title:
type: string_textfield
weight: 0
region: content
settings:
media_types: { }
size: 60
placeholder: ''
third_party_settings: { }
field_go_video_title:
field_url:
type: string_textfield
weight: 0
weight: 1
region: content
settings:
size: 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,29 @@ langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_video.field_embed_video
- field.field.paragraph.go_video.field_go_video_title
- field.field.paragraph.go_video.field_url
- paragraphs.paragraphs_type.go_video
id: paragraph.go_video.default
targetEntityType: paragraph
bundle: go_video
mode: default
content:
field_embed_video:
type: entity_reference_entity_view
field_go_video_title:
type: string
label: hidden
settings:
view_mode: full
link: false
link_to_entity: false
third_party_settings: { }
weight: 0
weight: 1
region: content
field_go_video_title:
field_url:
type: string
label: hidden
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
weight: 2
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,15 @@ status: true
dependencies:
config:
- core.entity_view_mode.paragraph.preview
- field.field.paragraph.go_video.field_embed_video
- field.field.paragraph.go_video.field_go_video_title
- field.field.paragraph.go_video.field_url
- paragraphs.paragraphs_type.go_video
id: paragraph.go_video.preview
targetEntityType: paragraph
bundle: go_video
mode: preview
content:
field_embed_video:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 0
region: content
content: { }
hidden:
field_go_video_title: true
field_url: true
search_api_excerpt: true
29 changes: 0 additions & 29 deletions config/sync/field.field.paragraph.go_video.field_embed_video.yml

This file was deleted.

19 changes: 19 additions & 0 deletions config/sync/field.field.paragraph.go_video.field_url.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 06195192-61b6-4051-95f6-5891e43b5868
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_url
- paragraphs.paragraphs_type.go_video
id: paragraph.go_video.field_url
field_name: field_url
entity_type: paragraph
bundle: go_video
label: URL
description: 'VideoTool URL. Example: https://media.videotool.dk/?vn=557_2023103014511477700668916683'
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
21 changes: 21 additions & 0 deletions config/sync/field.storage.paragraph.field_url.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 281fa3a7-a299-47af-8d39-56b4865109f6
langcode: en
status: true
dependencies:
module:
- paragraphs
id: paragraph.field_url
field_name: field_url
entity_type: paragraph
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
5 changes: 3 additions & 2 deletions config/sync/graphql_compose.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,11 @@ field_config:
field_title:
enabled: true
go_video:
field_embed_video:
enabled: true
field_go_video_title:
enabled: true
name_sdl: title
field_url:
enabled: true
manual_event_list:
field_events:
enabled: true
Expand Down
Loading