diff --git a/composer.lock b/composer.lock index 1b818eef..e9cee054 100644 --- a/composer.lock +++ b/composer.lock @@ -4057,16 +4057,16 @@ }, { "name": "drupal/helfi_platform_config", - "version": "4.3.33", + "version": "4.3.34", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config.git", - "reference": "b59abd9e2ece05dcf3e2a7e9968a0a834ab082e0" + "reference": "8758c44f0344feeebdeaedb41c4ee101e27fa4da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/b59abd9e2ece05dcf3e2a7e9968a0a834ab082e0", - "reference": "b59abd9e2ece05dcf3e2a7e9968a0a834ab082e0", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/8758c44f0344feeebdeaedb41c4ee101e27fa4da", + "reference": "8758c44f0344feeebdeaedb41c4ee101e27fa4da", "shasum": "" }, "require": { @@ -4182,10 +4182,10 @@ ], "description": "HELfi platform config", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/4.3.33", + "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/4.3.34", "issues": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/issues" }, - "time": "2024-03-26T14:16:52+00:00" + "time": "2024-03-27T09:21:21+00:00" }, { "name": "drupal/helfi_proxy", diff --git a/conf/cmi/core.entity_form_display.media.remote_video.default.yml b/conf/cmi/core.entity_form_display.media.remote_video.default.yml index 640fe4bf..544de327 100644 --- a/conf/cmi/core.entity_form_display.media.remote_video.default.yml +++ b/conf/cmi/core.entity_form_display.media.remote_video.default.yml @@ -9,7 +9,7 @@ dependencies: - media - path _core: - default_config_hash: wINAug2reQC4IOHfvtIPGZZKwQch2yp7-uMTl8udqAI + default_config_hash: FN_7OPWqgokIHgMrwLZXn0pfYKRkMW78u-Z6D3rTo9k id: media.remote_video.default targetEntityType: media bundle: remote_video diff --git a/conf/cmi/core.entity_form_display.media.remote_video.media_library.yml b/conf/cmi/core.entity_form_display.media.remote_video.media_library.yml index 75a8fce9..0ca4f44d 100644 --- a/conf/cmi/core.entity_form_display.media.remote_video.media_library.yml +++ b/conf/cmi/core.entity_form_display.media.remote_video.media_library.yml @@ -7,7 +7,7 @@ dependencies: - field.field.media.remote_video.field_media_oembed_video - media.type.remote_video _core: - default_config_hash: LVbcUoKuQ30hXMjgOy8iBAY_MyUZHGGNy8EN3shu0Eg + default_config_hash: O0TdkPmc3nTDrkrcep7kWKCzCZmGyOtNyB6uWj2G0l0 id: media.remote_video.media_library targetEntityType: media bundle: remote_video diff --git a/conf/cmi/core.entity_view_display.media.remote_video.default.yml b/conf/cmi/core.entity_view_display.media.remote_video.default.yml index c8c3b5ab..b2e955ae 100644 --- a/conf/cmi/core.entity_view_display.media.remote_video.default.yml +++ b/conf/cmi/core.entity_view_display.media.remote_video.default.yml @@ -8,7 +8,7 @@ dependencies: module: - media _core: - default_config_hash: Kaedktd6hrPpRUp1yhNgzJn3xy3CtVOlvKpJ7wXNWro + default_config_hash: dUxoKGWIJDMbtiZW4sgmwLmEVar2De504oi1Bu210n0 id: media.remote_video.default targetEntityType: media bundle: remote_video diff --git a/conf/cmi/core.entity_view_display.media.remote_video.media_library.yml b/conf/cmi/core.entity_view_display.media.remote_video.media_library.yml index 134d4cbb..e1446d78 100644 --- a/conf/cmi/core.entity_view_display.media.remote_video.media_library.yml +++ b/conf/cmi/core.entity_view_display.media.remote_video.media_library.yml @@ -10,7 +10,7 @@ dependencies: module: - image _core: - default_config_hash: 5VOOfSntGl8xH5UJ7yWYN-yYu1aNGZdwKTuhGWEyae0 + default_config_hash: pvWt3Oy22dvvswAwQ7QqttbawaKjqN-l7F_4oC_HRgk id: media.remote_video.media_library targetEntityType: media bundle: remote_video diff --git a/conf/cmi/language/fi/media.type.remote_video.yml b/conf/cmi/language/fi/media.type.remote_video.yml index 067d642f..4c3c3143 100644 --- a/conf/cmi/language/fi/media.type.remote_video.yml +++ b/conf/cmi/language/fi/media.type.remote_video.yml @@ -1,2 +1,2 @@ label: Videoupotus -description: 'Mediatyyppi ulkoisten palveluiden, kuten YouTube tarjoamille videoille.' +description: 'Videoupotus Youtubesta tai Helsinki-kanavalta.' diff --git a/conf/cmi/language/fi/social_media.settings.yml b/conf/cmi/language/fi/social_media.settings.yml index cf8fea7b..ead72050 100644 --- a/conf/cmi/language/fi/social_media.settings.yml +++ b/conf/cmi/language/fi/social_media.settings.yml @@ -1,9 +1,23 @@ social_media: facebook_share: text: 'Jaa Facebook-palvelussa' + api_url: 'http://www.facebook.com/share.php?u=[current-page:url]&title=[current-page:title]' + attributes: "target|_blank\r\nclass|facebook-share" linkedin: text: 'Jaa LinkedIn-palvelussa' + api_url: 'https://www.linkedin.com/sharing/share-offsite/?url=[current-page:url]' + attributes: "target|_blank\r\nclass|linkedin" twitter: text: 'Jaa X-palvelussa' + api_url: 'https://twitter.com/intent/tweet?url=[current-page:url]&status=[current-page:title]+[current-page:url]' + attributes: "target|_blank\r\nclass|twitter" email: - text: 'Lähetä sivu sähköpostitse' + text: Sähköposti + facebook_msg: + attributes: "target|_blank\r\nclass|facebook-msg\r\nrel|noopener noreferrer" + pinterest: + attributes: "target|_blank\r\nclass|pinterest\r\nrel|noopener noreferrer" + whatsapp: + attributes: "class|whatsapp show-for-small-only\r\ndata-action|share/whatsapp/share" + print: + text: Print diff --git a/conf/cmi/language/sv/social_media.settings.yml b/conf/cmi/language/sv/social_media.settings.yml index 498a2fe7..f3c07820 100644 --- a/conf/cmi/language/sv/social_media.settings.yml +++ b/conf/cmi/language/sv/social_media.settings.yml @@ -1,9 +1,24 @@ social_media: facebook_share: text: 'Dela på Facebook' + api_url: 'http://www.facebook.com/share.php?u=[current-page:url]&title=[current-page:title]' + attributes: "target|_blank\r\nclass|facebook-share" linkedin: text: 'Dela på Linkedin' + api_url: 'https://www.linkedin.com/sharing/share-offsite/?url=[current-page:url]' + attributes: "target|_blank\r\nclass|linkedin" twitter: text: 'Dela på X' + api_url: 'https://twitter.com/intent/tweet?url=[current-page:url]&status=[current-page:title]+[current-page:url]' + attributes: "target|_blank\r\nclass|twitter" email: - text: 'Skicka via e-post' + text: E-post + facebook_msg: + attributes: "target|_blank\r\nclass|facebook-msg\r\nrel|noopener noreferrer" + pinterest: + text: Pinterest + attributes: "target|_blank\r\nclass|pinterest\r\nrel|noopener noreferrer" + whatsapp: + attributes: "class|whatsapp show-for-small-only\r\ndata-action|share/whatsapp/share" + print: + text: Print diff --git a/conf/cmi/media.type.remote_video.yml b/conf/cmi/media.type.remote_video.yml index 2ef80426..028a1d27 100644 --- a/conf/cmi/media.type.remote_video.yml +++ b/conf/cmi/media.type.remote_video.yml @@ -8,9 +8,9 @@ third_party_settings: crop: image_field: null _core: - default_config_hash: GPjIi9MrHVi7nlw_vlwKWBVl87xGuOfiebbDTBkVRfQ + default_config_hash: UF-QHXTRJj-xxu_veKuafSJNJEu59_YqNURdJlGs9dU id: remote_video -label: 'Remote video' +label: 'Remote video embed' description: 'Media type for remote media from external sources.' source: 'oembed:video' queue_thumbnail_downloads: false diff --git a/conf/cmi/oembed_providers.provider.icareus_suite.yml b/conf/cmi/oembed_providers.provider.icareus_suite.yml index ab6214fc..665e941a 100644 --- a/conf/cmi/oembed_providers.provider.icareus_suite.yml +++ b/conf/cmi/oembed_providers.provider.icareus_suite.yml @@ -3,7 +3,7 @@ langcode: en status: true dependencies: { } _core: - default_config_hash: aQOKcHc592CMLI00czfxyT8hbKX97hvBvCOevGBDKq4 + default_config_hash: xqAoab3RpoZ36mhZClLPbQFg4fppDaQIS-spV_33m44 id: icareus_suite label: 'Icareus Suite' provider_url: 'https://www.helsinkikanava.fi'