Skip to content

Commit 3c44835

Browse files
committed
UHF-13130: Updated configurations.
1 parent 5194e1e commit 3c44835

39 files changed

Lines changed: 101 additions & 120 deletions

File tree

Lines changed: 48 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
uuid: 5953291d-1646-431b-84c8-37af484fd5b1
1+
uuid: 4c5d5765-e436-4d83-91d8-928e5e0362a0
22
langcode: en
33
status: true
44
dependencies:
55
config:
6-
- field.field.paragraph.event_list.field_api_url
76
- field.field.paragraph.event_list.field_event_count
87
- field.field.paragraph.event_list.field_event_list_category_event
98
- field.field.paragraph.event_list.field_event_list_category_hobby
9+
- field.field.paragraph.event_list.field_event_count
1010
- field.field.paragraph.event_list.field_event_list_description
1111
- field.field.paragraph.event_list.field_event_list_free_text
1212
- field.field.paragraph.event_list.field_event_list_keywords
13-
- field.field.paragraph.event_list.field_event_list_keywords_filter
1413
- field.field.paragraph.event_list.field_event_list_place
1514
- field.field.paragraph.event_list.field_event_list_title
1615
- field.field.paragraph.event_list.field_event_list_type
@@ -22,6 +21,7 @@ dependencies:
2221
- paragraphs.paragraphs_type.event_list
2322
module:
2423
- helfi_react_search
24+
- link
2525
- select2
2626
- text
2727
_core:
@@ -31,25 +31,13 @@ targetEntityType: paragraph
3131
bundle: event_list
3232
mode: default
3333
content:
34-
field_event_count:
35-
type: options_select
36-
weight: 3
37-
region: content
38-
settings: { }
39-
third_party_settings: { }
40-
field_event_list_category_event:
41-
type: select2
42-
weight: 5
43-
region: content
44-
settings:
45-
width: 100%
46-
third_party_settings: { }
47-
field_event_list_category_hobby:
48-
type: select2
49-
weight: 6
34+
field_event_list_title:
35+
type: string_textfield
36+
weight: 0
5037
region: content
5138
settings:
52-
width: 100%
39+
size: 60
40+
placeholder: ''
5341
third_party_settings: { }
5442
field_event_list_description:
5543
type: text_textarea
@@ -59,6 +47,18 @@ content:
5947
rows: 3
6048
placeholder: ''
6149
third_party_settings: { }
50+
field_event_list_type:
51+
type: options_buttons
52+
weight: 2
53+
region: content
54+
settings: { }
55+
third_party_settings: { }
56+
field_event_count:
57+
type: options_select
58+
weight: 3
59+
region: content
60+
settings: { }
61+
third_party_settings: { }
6262
field_event_list_free_text:
6363
type: string_textfield
6464
weight: 4
@@ -67,21 +67,27 @@ content:
6767
size: 60
6868
placeholder: ''
6969
third_party_settings: { }
70-
field_event_list_keywords:
71-
type: linked_events_select2
72-
weight: 7
70+
field_event_list_category_event:
71+
type: select2
72+
weight: 5
7373
region: content
7474
settings:
75-
endpoint: keyword
76-
query: 'data_source=yso&has_upcoming_events=True'
75+
width: 100%
7776
third_party_settings: { }
78-
field_event_list_keywords_filter:
77+
field_event_list_category_hobby:
78+
type: select2
79+
weight: 6
80+
region: content
81+
settings:
82+
width: 100%
83+
third_party_settings: { }
84+
field_event_list_keywords:
7985
type: linked_events_select2
80-
weight: 14
86+
weight: 7
8187
region: content
8288
settings:
8389
endpoint: keyword
84-
query: 'data_source=yso&has_upcoming_events=True'
90+
query: data_source=yso&has_upcoming_events=True
8591
third_party_settings: { }
8692
field_event_list_place:
8793
type: linked_events_select2
@@ -91,20 +97,6 @@ content:
9197
endpoint: place
9298
query: sort=name
9399
third_party_settings: { }
94-
field_event_list_title:
95-
type: string_textfield
96-
weight: 0
97-
region: content
98-
settings:
99-
size: 60
100-
placeholder: ''
101-
third_party_settings: { }
102-
field_event_list_type:
103-
type: options_buttons
104-
weight: 2
105-
region: content
106-
settings: { }
107-
third_party_settings: { }
108100
field_event_location:
109101
type: boolean_checkbox
110102
weight: 9
@@ -119,28 +111,35 @@ content:
119111
settings:
120112
display_label: true
121113
third_party_settings: { }
122-
field_free_events:
114+
field_language:
123115
type: boolean_checkbox
124-
weight: 13
116+
weight: 11
125117
region: content
126118
settings:
127119
display_label: true
128120
third_party_settings: { }
129-
field_language:
121+
field_remote_events:
130122
type: boolean_checkbox
131-
weight: 11
123+
weight: 12
132124
region: content
133125
settings:
134126
display_label: true
135127
third_party_settings: { }
136-
field_remote_events:
128+
field_free_events:
137129
type: boolean_checkbox
138-
weight: 12
130+
weight: 13
139131
region: content
140132
settings:
141133
display_label: true
142134
third_party_settings: { }
135+
field_event_list_keywords_filter:
136+
type: linked_events_select2
137+
weight: 14
138+
region: content
139+
settings:
140+
endpoint: keyword
141+
query: data_source=yso&has_upcoming_events=True
142+
third_party_settings: { }
143143
hidden:
144144
created: true
145-
field_api_url: true
146145
status: true

conf/cmi/core.entity_form_display.paragraph.list_of_links.default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uuid: 0b204109-5b16-48d0-a02b-4fea10044ce2
1+
uuid: e533c076-0d64-428c-8e04-06529ea952cf
22
langcode: en
33
status: true
44
dependencies:

conf/cmi/core.entity_form_display.paragraph.list_of_links_item.default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uuid: abb4cecc-1636-411a-8894-ed6dd14bd2ce
1+
uuid: 8a7d4f00-b1d1-4b3e-923e-2e444a0803ed
22
langcode: en
33
status: true
44
dependencies:

conf/cmi/core.entity_view_display.media.image.list_of_links.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uuid: 03fa863c-504c-4cb9-ae5a-d74fba732a32
1+
uuid: 01e5cdc8-1228-4919-8fd2-3bc34596edb1
22
langcode: en
33
status: true
44
dependencies:
@@ -33,6 +33,5 @@ hidden:
3333
field_photographer: true
3434
langcode: true
3535
name: true
36-
search_api_excerpt: true
3736
thumbnail: true
3837
uid: true

conf/cmi/core.entity_view_display.paragraph.event_list.default.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
1-
uuid: e3e71a9b-a6e4-4a5d-809e-d294df6a9b34
1+
uuid: 591c90c8-42a5-4760-9a8c-b4bc6a309138
22
langcode: en
33
status: true
44
dependencies:
55
config:
6-
- field.field.paragraph.event_list.field_api_url
76
- field.field.paragraph.event_list.field_event_count
8-
- field.field.paragraph.event_list.field_event_list_category_event
9-
- field.field.paragraph.event_list.field_event_list_category_hobby
107
- field.field.paragraph.event_list.field_event_list_description
11-
- field.field.paragraph.event_list.field_event_list_free_text
12-
- field.field.paragraph.event_list.field_event_list_keywords
13-
- field.field.paragraph.event_list.field_event_list_keywords_filter
14-
- field.field.paragraph.event_list.field_event_list_place
158
- field.field.paragraph.event_list.field_event_list_title
16-
- field.field.paragraph.event_list.field_event_list_type
179
- field.field.paragraph.event_list.field_event_location
1810
- field.field.paragraph.event_list.field_event_time
1911
- field.field.paragraph.event_list.field_free_events
@@ -103,12 +95,4 @@ content:
10395
weight: 4
10496
region: content
10597
hidden:
106-
field_api_url: true
107-
field_event_list_category_event: true
108-
field_event_list_category_hobby: true
109-
field_event_list_free_text: true
110-
field_event_list_keywords: true
111-
field_event_list_keywords_filter: true
112-
field_event_list_place: true
113-
field_event_list_type: true
11498
search_api_excerpt: true

conf/cmi/core.entity_view_display.paragraph.list_of_links.default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uuid: 7936672a-8c66-442b-98cc-88e5247cd12a
1+
uuid: 5658b29d-93de-4de3-9854-fd9893440f4d
22
langcode: en
33
status: true
44
dependencies:

conf/cmi/core.entity_view_display.paragraph.list_of_links_item.default.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uuid: bbf98676-7314-486f-82d1-b364ee34d724
1+
uuid: 95265060-dcab-4d7e-9e51-bb5f5a68b2cf
22
langcode: en
33
status: true
44
dependencies:
@@ -46,5 +46,4 @@ content:
4646
third_party_settings: { }
4747
weight: 1
4848
region: content
49-
hidden:
50-
search_api_excerpt: true
49+
hidden: { }

conf/cmi/core.entity_view_mode.media.list_of_links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uuid: 58907bd8-8bb4-4f54-bbe9-0c33575724fc
1+
uuid: b242cc61-bc3b-4d69-b24a-d2f1a031dd43
22
langcode: en
33
status: true
44
dependencies:

conf/cmi/field.field.paragraph.event_list.field_event_count.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uuid: 14033668-1084-4481-a61b-d6ad9c334390
1+
uuid: 1c9dd98b-04be-43e9-b89a-6ea6c731e968
22
langcode: en
33
status: true
44
dependencies:
@@ -13,13 +13,15 @@ id: paragraph.event_list.field_event_count
1313
field_name: field_event_count
1414
entity_type: paragraph
1515
bundle: event_list
16-
label: Count
16+
label: 'Count'
1717
description: 'Select the number of items to display on the site.'
1818
required: false
1919
translatable: false
2020
default_value:
2121
-
2222
value: 3
2323
default_value_callback: ''
24-
settings: { }
24+
settings:
25+
allowed_values: { }
26+
allowed_values_function: helfi_react_search_event_list_allowed_values_function
2527
field_type: list_integer

conf/cmi/field.field.paragraph.event_list.field_event_list_category_event.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ required: false
1919
translatable: false
2020
default_value: { }
2121
default_value_callback: ''
22-
settings: { }
22+
settings:
23+
allowed_values: { }
24+
allowed_values_function: helfi_react_search_event_list_allowed_event_categories
2325
field_type: list_string

0 commit comments

Comments
 (0)