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

DDFBRA-390 - Added GO Material Slider paragraphs #1997

Merged
merged 4 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
@@ -0,0 +1,40 @@
uuid: 6f705980-9a05-400c-8d20-91442cdcc419
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_material_slider_automatic.field_cql_search
- field.field.paragraph.go_material_slider_automatic.field_slider_amount_of_materials
- field.field.paragraph.go_material_slider_automatic.field_title
- paragraphs.paragraphs_type.go_material_slider_automatic
module:
- dpl_fbi
id: paragraph.go_material_slider_automatic.default
targetEntityType: paragraph
bundle: go_material_slider_automatic
mode: default
content:
field_cql_search:
type: cql_search_widget
weight: 3
region: content
settings: { }
third_party_settings: { }
field_slider_amount_of_materials:
type: number
weight: 4
region: content
settings:
placeholder: ''
third_party_settings: { }
field_title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: 33ab7f6d-016c-47cc-9aef-04903727c169
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_material_slider_mannual.field_material_slider_work_ids
- field.field.paragraph.go_material_slider_mannual.field_title
- paragraphs.paragraphs_type.go_material_slider_mannual
module:
- dpl_fbi
id: paragraph.go_material_slider_mannual.default
targetEntityType: paragraph
bundle: go_material_slider_mannual
mode: default
content:
field_material_slider_work_ids:
type: dpl_fbi_work_id_search_for_material
weight: 1
region: content
settings: { }
third_party_settings: { }
field_title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
uuid: b5998f94-5318-455b-86fd-7c53fe809972
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_material_slider_automatic.field_cql_search
- field.field.paragraph.go_material_slider_automatic.field_slider_amount_of_materials
- field.field.paragraph.go_material_slider_automatic.field_title
- paragraphs.paragraphs_type.go_material_slider_automatic
module:
- dpl_fbi
id: paragraph.go_material_slider_automatic.default
targetEntityType: paragraph
bundle: go_material_slider_automatic
mode: default
content:
field_cql_search:
type: cql_search_formatter
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
field_slider_amount_of_materials:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 4
region: content
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: 03c21782-0e6e-4a7c-941c-3fcc707f7202
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.paragraph.preview
- field.field.paragraph.go_material_slider_automatic.field_cql_search
- field.field.paragraph.go_material_slider_automatic.field_slider_amount_of_materials
- field.field.paragraph.go_material_slider_automatic.field_title
- paragraphs.paragraphs_type.go_material_slider_automatic
id: paragraph.go_material_slider_automatic.preview
targetEntityType: paragraph
bundle: go_material_slider_automatic
mode: preview
content:
field_title:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
field_cql_search: true
field_slider_amount_of_materials: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
uuid: c6742a87-758e-4f6f-b4d9-4aafd0cff0a5
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.go_material_slider_mannual.field_material_slider_work_ids
- field.field.paragraph.go_material_slider_mannual.field_title
- paragraphs.paragraphs_type.go_material_slider_mannual
id: paragraph.go_material_slider_mannual.default
targetEntityType: paragraph
bundle: go_material_slider_mannual
mode: default
content:
field_material_slider_work_ids:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 5ec7591d-717f-4ae8-a4a1-445b29131799
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.paragraph.preview
- field.field.paragraph.go_material_slider_mannual.field_material_slider_work_ids
- field.field.paragraph.go_material_slider_mannual.field_title
- paragraphs.paragraphs_type.go_material_slider_mannual
id: paragraph.go_material_slider_mannual.preview
targetEntityType: paragraph
bundle: go_material_slider_mannual
mode: preview
content:
field_title:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
field_material_slider_work_ids: true
search_api_excerpt: true
10 changes: 10 additions & 0 deletions config/sync/field.field.node.go_article.field_paragraphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ dependencies:
- field.storage.node.field_paragraphs
- node.type.go_article
- paragraphs.paragraphs_type.go_linkbox
- paragraphs.paragraphs_type.go_material_slider_automatic
- paragraphs.paragraphs_type.go_material_slider_mannual
- paragraphs.paragraphs_type.go_video
module:
- entity_reference_revisions
Expand All @@ -25,6 +27,8 @@ settings:
target_bundles:
go_video: go_video
go_linkbox: go_linkbox
go_material_slider_automatic: go_material_slider_automatic
go_material_slider_mannual: go_material_slider_mannual
negate: 0
target_bundles_drag_drop:
accordion:
Expand Down Expand Up @@ -63,6 +67,12 @@ settings:
go_linkbox:
weight: 43
enabled: true
go_material_slider_automatic:
weight: 46
enabled: true
go_material_slider_mannual:
weight: 47
enabled: true
go_video:
weight: 42
enabled: true
Expand Down
15 changes: 15 additions & 0 deletions config/sync/field.field.node.go_category.field_paragraphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ dependencies:
config:
- field.storage.node.field_paragraphs
- node.type.go_category
- paragraphs.paragraphs_type.go_linkbox
- paragraphs.paragraphs_type.go_material_slider_automatic
- paragraphs.paragraphs_type.go_material_slider_mannual
- paragraphs.paragraphs_type.go_video
module:
- entity_reference_revisions
Expand All @@ -23,6 +26,9 @@ settings:
handler_settings:
target_bundles:
go_video: go_video
go_linkbox: go_linkbox
go_material_slider_automatic: go_material_slider_automatic
go_material_slider_mannual: go_material_slider_mannual
negate: 0
target_bundles_drag_drop:
accordion:
Expand Down Expand Up @@ -58,6 +64,15 @@ settings:
filtered_event_list:
weight: 41
enabled: false
go_linkbox:
weight: 45
enabled: true
go_material_slider_automatic:
weight: 46
enabled: true
go_material_slider_mannual:
weight: 47
enabled: true
go_video:
weight: 42
enabled: true
Expand Down
15 changes: 15 additions & 0 deletions config/sync/field.field.node.go_page.field_paragraphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ dependencies:
config:
- field.storage.node.field_paragraphs
- node.type.go_page
- paragraphs.paragraphs_type.go_linkbox
- paragraphs.paragraphs_type.go_material_slider_automatic
- paragraphs.paragraphs_type.go_material_slider_mannual
- paragraphs.paragraphs_type.go_video
module:
- entity_reference_revisions
Expand All @@ -23,6 +26,9 @@ settings:
handler_settings:
target_bundles:
go_video: go_video
go_linkbox: go_linkbox
go_material_slider_automatic: go_material_slider_automatic
go_material_slider_mannual: go_material_slider_mannual
negate: 0
target_bundles_drag_drop:
accordion:
Expand Down Expand Up @@ -58,6 +64,15 @@ settings:
filtered_event_list:
weight: 40
enabled: false
go_linkbox:
weight: 45
enabled: true
go_material_slider_automatic:
weight: 46
enabled: true
go_material_slider_mannual:
weight: 47
enabled: true
go_video:
weight: 42
enabled: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: b86f36ef-76d5-4e82-bd16-17f1efe33e60
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_cql_search
- paragraphs.paragraphs_type.go_material_slider_automatic
module:
- dpl_fbi
id: paragraph.go_material_slider_automatic.field_cql_search
field_name: field_cql_search
entity_type: paragraph
bundle: go_material_slider_automatic
label: 'CQL Search'
description: "This field is for inserting a CQL string based on a search. <br /><br />Please be aware, that it is necessary to copy the exact CQL string, including the quotations. i.e: ( 'harry potter')<br /><br />A valid CQL search string can be generated, by performing a query through the advanced search, and copying the CQL string from there. "
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: dpl_fbi_cql_search
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 106e4e13-320a-49ae-9b8a-6ba6ca0fc407
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_slider_amount_of_materials
- paragraphs.paragraphs_type.go_material_slider_automatic
id: paragraph.go_material_slider_automatic.field_slider_amount_of_materials
field_name: field_slider_amount_of_materials
entity_type: paragraph
bundle: go_material_slider_automatic
label: 'Amount of materials'
description: ''
required: true
translatable: false
default_value:
-
value: 8
default_value_callback: ''
settings:
min: 1
max: null
prefix: ''
suffix: ''
field_type: integer
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 204c4d5b-3c27-4c3f-970a-20b7bfa3a6b2
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_title
- paragraphs.paragraphs_type.go_material_slider_automatic
id: paragraph.go_material_slider_automatic.field_title
field_name: field_title
entity_type: paragraph
bundle: go_material_slider_automatic
label: Title
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 539db46c-5b23-4319-ac71-44720cbb9f44
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_material_slider_work_ids
- paragraphs.paragraphs_type.go_material_slider_mannual
module:
- dpl_fbi
id: paragraph.go_material_slider_mannual.field_material_slider_work_ids
field_name: field_material_slider_work_ids
entity_type: paragraph
bundle: go_material_slider_mannual
label: 'Work IDs'
description: 'Here you can choose which materials to display. If you need to link to a specific type, select it from the dropdown and the system will display that, if it is available.<br />Example work ID: work-of:870970-basis:136336282'
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: dpl_fbi_work_id
Loading
Loading