Skip to content

Commit

Permalink
Merge pull request #308 from City-of-Helsinki/dev
Browse files Browse the repository at this point in the history
Dev to main
  • Loading branch information
rpnykanen authored Sep 13, 2023
2 parents 59980c1 + e1617cc commit f0e2e9c
Show file tree
Hide file tree
Showing 26 changed files with 497 additions and 109 deletions.
159 changes: 76 additions & 83 deletions composer.lock

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions conf/cmi/core.entity_form_display.paragraph.hearings.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuid: d5be6ac3-1be3-49aa-b5b4-0215dab3bdbc
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.hearings.field_hearings_description
- field.field.paragraph.hearings.field_hearings_title
- paragraphs.paragraphs_type.hearings
module:
- text
_core:
default_config_hash: l2kryFebseDJ_OFETKLTOsXMlUe1CuLoZiQne_X2Glk
id: paragraph.hearings.default
targetEntityType: paragraph
bundle: hearings
mode: default
content:
field_hearings_description:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_hearings_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,124 @@
uuid: be1075c6-ab1a-40ff-9908-1e8fca5abebb
langcode: en
status: true
dependencies:
config:
- responsive_image.styles.image__3_2
module:
- external_entities
- imagecache_external
_core:
default_config_hash: fILQEVNfZTZZh_DbxUgOfgAwVP5-S0z3Ud7QI4g8ato
id: helfi_hearings.helfi_hearings.default
targetEntityType: helfi_hearings
bundle: helfi_hearings
mode: default
content:
close_at:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
comments:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
count:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
created_at:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
existing_translations:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
langcode:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
main_image:
type: imagecache_external_responsive_image
label: hidden
settings:
imagecache_external_link: ''
imagecache_external_responsive_style: image__3_2
third_party_settings: { }
weight: 1
region: content
main_image_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
open_at:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
organization:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
slug:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
url:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
abstract: true
search_api_excerpt: true
39 changes: 39 additions & 0 deletions conf/cmi/core.entity_view_display.paragraph.hearings.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
uuid: 4e2e89e0-151b-4902-9d70-6c3bcbcef1fa
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.hearings.field_hearings_description
- field.field.paragraph.hearings.field_hearings_title
- paragraphs.paragraphs_type.hearings
module:
- text
_core:
default_config_hash: kS2OalHOAuM9YHvNdaO9be_ys26-Wdo1tQjjgSniWoI
id: paragraph.hearings.default
targetEntityType: paragraph
bundle: hearings
mode: default
content:
field_hearings_description:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_hearings_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
list:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
search_api_excerpt: true
1 change: 1 addition & 0 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module:
helfi_paragraphs_columns: 0
helfi_paragraphs_contact_card_listing: 0
helfi_paragraphs_content_cards: 0
helfi_paragraphs_hearings: 0
helfi_paragraphs_hero: 0
helfi_paragraphs_image: 0
helfi_paragraphs_liftup_with_image: 0
Expand Down
54 changes: 54 additions & 0 deletions conf/cmi/external_entities.external_entity_type.helfi_hearings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
uuid: b6b2219c-d758-434a-be3d-25e15e889991
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: V9lWeTxHnS6dVGfiP_eapxOGbHw6NEaSSO5ePjVzWNc
id: helfi_hearings
label: 'Helfi: Hearing'
label_plural: 'Helfi: Hearing'
description: 'Helfi hearings from hearing api.'
read_only: true
generate_aliases: false
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
id:
value: $.id
uuid:
value: $.id
title:
value: $.title
close_at:
value: $.close_at
created_at:
value: $.created_at
open_at:
value: $.open_at
slug:
value: $.slug
comments:
value: $.n_comments
organization:
value: $.organization
abstract:
value: $.abstract
main_image:
uri: $.main_image_url
main_image_title:
value: $.main_image_caption
count:
value: $.count
url:
value: $.url
langcode:
value: $.langcode
existing_translations:
value: $.existing_translations
storage_client_id: helfi_hearings
storage_client_config: { }
persistent_cache_max_age: 3600
annotation_entity_type_id: null
annotation_bundle_id: null
annotation_field_name: null
inherits_annotation_fields: false
5 changes: 5 additions & 0 deletions conf/cmi/field.field.node.landing_page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies:
- paragraphs.paragraphs_type.content_liftup
- paragraphs.paragraphs_type.event_list
- paragraphs.paragraphs_type.from_library
- paragraphs.paragraphs_type.hearings
- paragraphs.paragraphs_type.job_search
- paragraphs.paragraphs_type.liftup_with_image
- paragraphs.paragraphs_type.list_of_links
Expand Down Expand Up @@ -60,6 +61,7 @@ settings:
popular_services: popular_services
target_group_links: target_group_links
job_search: job_search
hearings: hearings
negate: 0
target_bundles_drag_drop:
banner:
Expand All @@ -83,6 +85,9 @@ settings:
from_library:
weight: 0
enabled: true
hearings:
weight: 0
enabled: true
job_search:
weight: 0
enabled: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
uuid: e82249b1-4cea-4478-939a-1327dcaf8f76
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_hearings_description
- paragraphs.paragraphs_type.hearings
module:
- allowed_formats
- text
third_party_settings:
allowed_formats:
allowed_formats:
- minimal
_core:
default_config_hash: Hzutod731PQFSGM7oIqDKlHOOuWhCgfVW6PrPTUzBps
id: paragraph.hearings.field_hearings_description
field_name: field_hearings_description
entity_type: paragraph
bundle: hearings
label: Description
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long
21 changes: 21 additions & 0 deletions conf/cmi/field.field.paragraph.hearings.field_hearings_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: ca4301c4-6582-4517-b397-10647554b6f4
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_hearings_title
- paragraphs.paragraphs_type.hearings
_core:
default_config_hash: 7ND3L8b6WIkrG6ew034kRIVRBdyKZXVhRhEdlBu-tJ4
id: paragraph.hearings.field_hearings_title
field_name: field_hearings_title
entity_type: paragraph
bundle: hearings
label: Title
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
21 changes: 21 additions & 0 deletions conf/cmi/field.storage.paragraph.field_hearings_description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: a11797ad-4886-49cd-b407-d8901912f347
langcode: en
status: true
dependencies:
module:
- paragraphs
- text
_core:
default_config_hash: '-wixoAUHw5pe0XRvRilN50lCY_xQEdOGkGO5nVM-22M'
id: paragraph.field_hearings_description
field_name: field_hearings_description
entity_type: paragraph
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
23 changes: 23 additions & 0 deletions conf/cmi/field.storage.paragraph.field_hearings_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: f91eb3c0-2085-4b8b-ab8b-0c5e78306532
langcode: en
status: true
dependencies:
module:
- paragraphs
_core:
default_config_hash: xpZE8O1B6Kf07XLP2CWf7FdWEwtSMvHUfl_gsLicNEo
id: paragraph.field_hearings_title
field_name: field_hearings_title
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
Loading

0 comments on commit f0e2e9c

Please sign in to comment.