diff --git a/CHANGELOG.md b/CHANGELOG.md index 78e0370d..6039f5bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [1.14.0] +## [1.14.0] - IN DEVELOPMENT + ### Added +- Added description for field field_slideshow_type in paragraph degov_paragraph_slideshow - Added support for media bundles tweet and instagram to degov_social_media_settings. +### Fixed +- Fixed configurations of degov_media_video configurations + +## Changed +- Chnage cardinility of simplenews_issue field to 10 in degov_simplenews module. +- Views reference when argument field is empty doesn't try to set the argument, + so the default argument is calculated by the view itself. + ## [1.13.1] - 11-12-2017 ### Added - Updated dependencies from deGov modules to keep lightning up to date. @@ -27,6 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixes - By default render the tags field with surrounding and inner item wrappers. +- Copied configuration from deprecated update_hook to install and rewrite ## [1.12.3] - 24-11-2017 ### Changed diff --git a/README.md b/README.md index c304fc10..bd151add 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # README # -This is the module repository for NRW Ressortmaster based on NRWgov Drupal distribution \ No newline at end of file +This is the module repository for deGov Drupal distribution. \ No newline at end of file diff --git a/degov_common/degov_common.install b/degov_common/degov_common.install index a288a8ad..d73d889b 100644 --- a/degov_common/degov_common.install +++ b/degov_common/degov_common.install @@ -17,8 +17,8 @@ function degov_common_uninstall() { /** * Next module update version is 8016. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_content_types_shared_fields/degov_content_types_shared_fields.install b/degov_content_types_shared_fields/degov_content_types_shared_fields.install index d5a1fd75..627f511b 100644 --- a/degov_content_types_shared_fields/degov_content_types_shared_fields.install +++ b/degov_content_types_shared_fields/degov_content_types_shared_fields.install @@ -2,8 +2,8 @@ /** * Next module update version is 8010. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_date_formats/degov_date_formats.install b/degov_date_formats/degov_date_formats.install index e7e29eb1..7cec2f79 100644 --- a/degov_date_formats/degov_date_formats.install +++ b/degov_date_formats/degov_date_formats.install @@ -2,8 +2,8 @@ /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_html_mail/degov_html_mail.install b/degov_html_mail/degov_html_mail.install index e7e29eb1..7cec2f79 100644 --- a/degov_html_mail/degov_html_mail.install +++ b/degov_html_mail/degov_html_mail.install @@ -2,8 +2,8 @@ /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_address/degov_media_address.install b/degov_media_address/degov_media_address.install index b982920d..845762ff 100644 --- a/degov_media_address/degov_media_address.install +++ b/degov_media_address/degov_media_address.install @@ -15,8 +15,8 @@ function degov_media_address_uninstall() { /** * Next module update version is 8007. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_audio/degov_media_audio.install b/degov_media_audio/degov_media_audio.install index 64c6f8fd..1b38fa95 100644 --- a/degov_media_audio/degov_media_audio.install +++ b/degov_media_audio/degov_media_audio.install @@ -39,8 +39,8 @@ function degov_media_audio_uninstall() { /** * Next module update version is 8011. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_citation/degov_media_citation.install b/degov_media_citation/degov_media_citation.install index ef6d3eb9..5ff20ba0 100644 --- a/degov_media_citation/degov_media_citation.install +++ b/degov_media_citation/degov_media_citation.install @@ -15,8 +15,8 @@ function degov_media_citation_uninstall() { /** * Next module update version is 8005. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_contact/degov_media_contact.install b/degov_media_contact/degov_media_contact.install index feac0a47..2e3a091c 100644 --- a/degov_media_contact/degov_media_contact.install +++ b/degov_media_contact/degov_media_contact.install @@ -15,8 +15,8 @@ function degov_media_contact_uninstall() { /** * Next module update version is 8006. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_document/degov_media_document.install b/degov_media_document/degov_media_document.install index 1bc6c237..fedf8f08 100644 --- a/degov_media_document/degov_media_document.install +++ b/degov_media_document/degov_media_document.install @@ -31,8 +31,8 @@ function degov_media_document_upload_uninstall() { /** * Next module update version is 8008. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.default.yml b/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.default.yml deleted file mode 100644 index c8031902..00000000 --- a/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.default.yml +++ /dev/null @@ -1,3 +0,0 @@ -content: - field_tags: - label: hidden \ No newline at end of file diff --git a/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.reference.yml b/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.reference.yml deleted file mode 100644 index c8031902..00000000 --- a/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.reference.yml +++ /dev/null @@ -1,3 +0,0 @@ -content: - field_tags: - label: hidden \ No newline at end of file diff --git a/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.usage.yml b/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.usage.yml deleted file mode 100644 index c8031902..00000000 --- a/degov_media_gallery/config/update_8009/rewrite/core.entity_view_display.media.gallery.usage.yml +++ /dev/null @@ -1,3 +0,0 @@ -content: - field_tags: - label: hidden \ No newline at end of file diff --git a/degov_media_gallery/degov_media_gallery.install b/degov_media_gallery/degov_media_gallery.install index 76dfb5ac..1c68a84a 100644 --- a/degov_media_gallery/degov_media_gallery.install +++ b/degov_media_gallery/degov_media_gallery.install @@ -19,18 +19,9 @@ function degov_media_gallery_uninstall() { } /** - * Next module update version is 8009. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * Next module update version is 8010. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ - -/** - * Rename field_tags hide label. - */ -function degov_media_gallery_update_8009() { - \Drupal::service('degov_config.module_updater') - ->applyUpdates('degov_media_gallery', '8009'); -} - diff --git a/degov_media_image/config/update_8016/rewrite/core.entity_view_display.media.image.default.yml b/degov_media_image/config/update_8016/rewrite/core.entity_view_display.media.image.default.yml deleted file mode 100644 index e504ff0b..00000000 --- a/degov_media_image/config/update_8016/rewrite/core.entity_view_display.media.image.default.yml +++ /dev/null @@ -1,4 +0,0 @@ -content: - field_tags: - label: hidden - diff --git a/degov_media_image/degov_media_image.install b/degov_media_image/degov_media_image.install index d4500dd4..1b236f7e 100644 --- a/degov_media_image/degov_media_image.install +++ b/degov_media_image/degov_media_image.install @@ -30,17 +30,9 @@ function degov_media_image_uninstall() { } /** - * Next module update version is 8016. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * Next module update version is 8017. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ -/** - * Rename field_tags hide label. - */ -function degov_media_image_update_8016() { - \Drupal::service('degov_config.module_updater') - ->applyUpdates('degov_media_image', '8016'); -} - diff --git a/degov_media_instagram/degov_media_instagram.install b/degov_media_instagram/degov_media_instagram.install index b9104247..241e6517 100644 --- a/degov_media_instagram/degov_media_instagram.install +++ b/degov_media_instagram/degov_media_instagram.install @@ -2,8 +2,8 @@ /** * Next module update version is 8006. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_person/degov_media_person.install b/degov_media_person/degov_media_person.install index edb49d72..2cd809ab 100644 --- a/degov_media_person/degov_media_person.install +++ b/degov_media_person/degov_media_person.install @@ -15,8 +15,8 @@ function degov_media_person_uninstall() { /** * Next module update version is 8006. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_social_media_embed/degov_media_social_media_embed.install b/degov_media_social_media_embed/degov_media_social_media_embed.install index 8e18e3e1..7c0549e2 100644 --- a/degov_media_social_media_embed/degov_media_social_media_embed.install +++ b/degov_media_social_media_embed/degov_media_social_media_embed.install @@ -15,8 +15,8 @@ function degov_media_social_media_embed_uninstall() { /** * Next module update version is 8004. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_tweet/degov_media_tweet.install b/degov_media_tweet/degov_media_tweet.install index b9104247..241e6517 100644 --- a/degov_media_tweet/degov_media_tweet.install +++ b/degov_media_tweet/degov_media_tweet.install @@ -2,8 +2,8 @@ /** * Next module update version is 8006. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_media_video/config/install/field.field.media.video.field_media_duration.yml b/degov_media_video/config/install/field.field.media.video.field_media_duration.yml index 434b66b5..c1e505be 100644 --- a/degov_media_video/config/install/field.field.media.video.field_media_duration.yml +++ b/degov_media_video/config/install/field.field.media.video.field_media_duration.yml @@ -4,7 +4,7 @@ dependencies: config: - field.storage.media.field_media_duration - media_entity.bundle.video - endforced: + enforced: module: - degov_media_video id: media.video.field_media_duration diff --git a/degov_media_video/config/install/field.field.media.video.field_media_transcription.yml b/degov_media_video/config/install/field.field.media.video.field_media_transcription.yml index ffec1847..a0a432aa 100644 --- a/degov_media_video/config/install/field.field.media.video.field_media_transcription.yml +++ b/degov_media_video/config/install/field.field.media.video.field_media_transcription.yml @@ -6,7 +6,7 @@ dependencies: - media_entity.bundle.video module: - text - endforced: + enforced: module: - degov_media_video id: media.video.field_media_transcription diff --git a/degov_media_video/config/install/field.field.media.video.field_video_preview.yml b/degov_media_video/config/install/field.field.media.video.field_video_preview.yml new file mode 100644 index 00000000..cf7b1203 --- /dev/null +++ b/degov_media_video/config/install/field.field.media.video.field_video_preview.yml @@ -0,0 +1,30 @@ +langcode: de +status: true +dependencies: + config: + - field.storage.media.field_video_preview + - media_entity.bundle.image + - media_entity.bundle.video + enforced: + module: + - degov_media_video +id: media.video.field_video_preview +field_name: field_video_preview +entity_type: media +bundle: video +label: Vorschau +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + image: image + sort: + field: _none + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/degov_media_video/config/install/field.storage.media.field_video_preview.yml b/degov_media_video/config/install/field.storage.media.field_video_preview.yml new file mode 100644 index 00000000..9dc25c78 --- /dev/null +++ b/degov_media_video/config/install/field.storage.media.field_video_preview.yml @@ -0,0 +1,21 @@ +langcode: de +status: true +dependencies: + enforced: + module: + - degov_media_video + module: + - media_entity +id: media.field_video_preview +field_name: field_video_preview +entity_type: media +type: entity_reference +settings: + target_type: media +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/degov_media_video/config/rewrite/core.entity_form_display.media.video.media_browser.yml b/degov_media_video/config/rewrite/core.entity_form_display.media.video.media_browser.yml index f218f632..6c546885 100644 --- a/degov_media_video/config/rewrite/core.entity_form_display.media.video.media_browser.yml +++ b/degov_media_video/config/rewrite/core.entity_form_display.media.video.media_browser.yml @@ -98,10 +98,10 @@ third_party_settings: required_fields: true label: Assets region: content -id: media.video.default +id: media.video.media_browser targetEntityType: media bundle: video -mode: default +mode: media_browser content: field_copyright: type: entity_reference_autocomplete diff --git a/degov_media_video/config/rewrite/core.entity_view_display.media.video.preview.yml b/degov_media_video/config/rewrite/core.entity_view_display.media.video.preview.yml new file mode 100644 index 00000000..4d3c9208 --- /dev/null +++ b/degov_media_video/config/rewrite/core.entity_view_display.media.video.preview.yml @@ -0,0 +1,10 @@ +content: + field_video_preview: + type: media_thumbnail + weight: 3 + region: content + label: hidden + settings: + image_style: thumbnail + image_link: content + third_party_settings: { } \ No newline at end of file diff --git a/degov_media_video/config/rewrite/core.entity_view_display.media.video.search.yml b/degov_media_video/config/rewrite/core.entity_view_display.media.video.search.yml new file mode 100644 index 00000000..4d3c9208 --- /dev/null +++ b/degov_media_video/config/rewrite/core.entity_view_display.media.video.search.yml @@ -0,0 +1,10 @@ +content: + field_video_preview: + type: media_thumbnail + weight: 3 + region: content + label: hidden + settings: + image_style: thumbnail + image_link: content + third_party_settings: { } \ No newline at end of file diff --git a/degov_media_video/config/rewrite/core.entity_view_display.media.video.usage.yml b/degov_media_video/config/rewrite/core.entity_view_display.media.video.usage.yml new file mode 100644 index 00000000..4d3c9208 --- /dev/null +++ b/degov_media_video/config/rewrite/core.entity_view_display.media.video.usage.yml @@ -0,0 +1,10 @@ +content: + field_video_preview: + type: media_thumbnail + weight: 3 + region: content + label: hidden + settings: + image_style: thumbnail + image_link: content + third_party_settings: { } \ No newline at end of file diff --git a/degov_media_video/config/update_8015/rewrite/core.entity_form_display.media.video.media_browser.yml b/degov_media_video/config/update_8015/rewrite/core.entity_form_display.media.video.media_browser.yml new file mode 100644 index 00000000..8166be4a --- /dev/null +++ b/degov_media_video/config/update_8015/rewrite/core.entity_form_display.media.video.media_browser.yml @@ -0,0 +1,4 @@ +id: media.video.media_browser +targetEntityType: media +bundle: video +mode: media_browser diff --git a/degov_media_video/config/update_8015/rewrite/field.field.media.video.field_media_duration.yml b/degov_media_video/config/update_8015/rewrite/field.field.media.video.field_media_duration.yml new file mode 100644 index 00000000..441f095b --- /dev/null +++ b/degov_media_video/config/update_8015/rewrite/field.field.media.video.field_media_duration.yml @@ -0,0 +1,4 @@ +dependencies: + enforced: + module: + - degov_media_video diff --git a/degov_media_video/config/update_8015/rewrite/field.field.media.video.field_media_transcription.yml b/degov_media_video/config/update_8015/rewrite/field.field.media.video.field_media_transcription.yml new file mode 100644 index 00000000..441f095b --- /dev/null +++ b/degov_media_video/config/update_8015/rewrite/field.field.media.video.field_media_transcription.yml @@ -0,0 +1,4 @@ +dependencies: + enforced: + module: + - degov_media_video diff --git a/degov_media_video/degov_media_video.install b/degov_media_video/degov_media_video.install index 38b0e0fd..4d36a8ef 100644 --- a/degov_media_video/degov_media_video.install +++ b/degov_media_video/degov_media_video.install @@ -2,8 +2,16 @@ /** * Next module update version is 8015. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ + +/** + * Fix fields config. + */ +function degov_media_video_update_8015() { + \Drupal::service('degov_config.module_updater') + ->applyUpdates('degov_media_video', '8015'); +} diff --git a/degov_media_video_upload/degov_media_video_upload.install b/degov_media_video_upload/degov_media_video_upload.install index 4c768c46..4508a992 100644 --- a/degov_media_video_upload/degov_media_video_upload.install +++ b/degov_media_video_upload/degov_media_video_upload.install @@ -31,8 +31,8 @@ function degov_media_video_upload_uninstall() { /** * Next module update version is 8015. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_metatags/degov_metatags.install b/degov_metatags/degov_metatags.install index e7e29eb1..7cec2f79 100644 --- a/degov_metatags/degov_metatags.install +++ b/degov_metatags/degov_metatags.install @@ -2,8 +2,8 @@ /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_node_blog/degov_node_blog.install b/degov_node_blog/degov_node_blog.install index df1f9de5..174adf42 100644 --- a/degov_node_blog/degov_node_blog.install +++ b/degov_node_blog/degov_node_blog.install @@ -15,8 +15,8 @@ function degov_node_blog_uninstall() { /** * Next module update version is 8009. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_node_event/degov_node_event.install b/degov_node_event/degov_node_event.install index 47622936..a342340f 100644 --- a/degov_node_event/degov_node_event.install +++ b/degov_node_event/degov_node_event.install @@ -22,8 +22,8 @@ function degov_node_event_uninstall() { /** * Next module update version is 8012. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_node_normal_page/degov_node_normal_page.install b/degov_node_normal_page/degov_node_normal_page.install index 0848c80c..5b0800d4 100644 --- a/degov_node_normal_page/degov_node_normal_page.install +++ b/degov_node_normal_page/degov_node_normal_page.install @@ -15,8 +15,8 @@ function degov_node_normal_page_uninstall() { /** * Next module update version is 8005. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_node_press/degov_node_press.install b/degov_node_press/degov_node_press.install index 772e6e02..40f14b0a 100644 --- a/degov_node_press/degov_node_press.install +++ b/degov_node_press/degov_node_press.install @@ -15,8 +15,8 @@ function degov_node_press_uninstall() { /** * Next module update version is 8012. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_paragraph_block_reference/degov_paragraph_block_reference.install b/degov_paragraph_block_reference/degov_paragraph_block_reference.install index b9104247..241e6517 100644 --- a/degov_paragraph_block_reference/degov_paragraph_block_reference.install +++ b/degov_paragraph_block_reference/degov_paragraph_block_reference.install @@ -2,8 +2,8 @@ /** * Next module update version is 8006. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_paragraph_downloads/degov_paragraph_downloads.install b/degov_paragraph_downloads/degov_paragraph_downloads.install index 1f38bf79..1f517928 100644 --- a/degov_paragraph_downloads/degov_paragraph_downloads.install +++ b/degov_paragraph_downloads/degov_paragraph_downloads.install @@ -15,8 +15,8 @@ function degov_paragraph_downloads_uninstall() { /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_paragraph_map/degov_paragraph_map.install b/degov_paragraph_map/degov_paragraph_map.install index 3152f1b0..466ea99b 100644 --- a/degov_paragraph_map/degov_paragraph_map.install +++ b/degov_paragraph_map/degov_paragraph_map.install @@ -15,8 +15,8 @@ function degov_paragraph_map_uninstall() { /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_paragraph_media_reference/degov_paragraph_media_reference.install b/degov_paragraph_media_reference/degov_paragraph_media_reference.install index 68d82091..4a2222ea 100644 --- a/degov_paragraph_media_reference/degov_paragraph_media_reference.install +++ b/degov_paragraph_media_reference/degov_paragraph_media_reference.install @@ -15,8 +15,8 @@ function degov_paragraph_media_reference_uninstall() { /** * Next module update version is 8006. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_paragraph_media_reference/degov_paragraph_media_reference.module b/degov_paragraph_media_reference/degov_paragraph_media_reference.module index f2e58886..6f1548f7 100644 --- a/degov_paragraph_media_reference/degov_paragraph_media_reference.module +++ b/degov_paragraph_media_reference/degov_paragraph_media_reference.module @@ -45,7 +45,12 @@ function degov_paragraph_media_reference_field_widget_form_alter(&$element, \Dru function degov_paragraph_media_reference_modules_installed($modules) { if (in_array('degov_paragraph_media_reference', $modules)) { // Set target bundles. - _degov_media_reference_bundle_list(); + /** @var \Drupal\Core\Config\ConfigInstallerInterface $config_installer */ + $config_installer = \Drupal::service('config.installer'); + if (!$config_installer->isSyncing()) { + // Set target bundles. + _degov_media_reference_bundle_list(); + } } } @@ -64,9 +69,11 @@ function _degov_media_reference_bundle_list() { $config = \Drupal::configFactory() ->getEditable('field.field.paragraph.media_reference.field_media_reference_media'); $settings = $config->get('settings'); - $settings['handler_settings']['target_bundles'] = $enabled_bundles; - $config->set('settings', $settings); - $config->save(TRUE); + if (!empty($settings)) { + $settings['handler_settings']['target_bundles'] = $enabled_bundles; + $config->set('settings', $settings); + $config->save(TRUE); + } } else { drupal_set_message(t('There are no media bundles available'), 'warning'); } diff --git a/degov_paragraph_node_reference/degov_paragraph_node_reference.install b/degov_paragraph_node_reference/degov_paragraph_node_reference.install index b7eda64d..3b34eaca 100644 --- a/degov_paragraph_node_reference/degov_paragraph_node_reference.install +++ b/degov_paragraph_node_reference/degov_paragraph_node_reference.install @@ -15,8 +15,8 @@ function degov_paragraph_node_reference_uninstall() { /** * Next module update version is 8004. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_paragraph_slideshow/config/install/field.field.paragraph.slideshow.field_slideshow_type.yml b/degov_paragraph_slideshow/config/install/field.field.paragraph.slideshow.field_slideshow_type.yml index 7555dd52..3632a7f3 100644 --- a/degov_paragraph_slideshow/config/install/field.field.paragraph.slideshow.field_slideshow_type.yml +++ b/degov_paragraph_slideshow/config/install/field.field.paragraph.slideshow.field_slideshow_type.yml @@ -14,7 +14,7 @@ field_name: field_slideshow_type entity_type: paragraph bundle: slideshow label: Typ -description: '' +description: 'Bitte beachten Sie, dass nur "Typ 1" zur korrekten Darstellung bei verlinkten Inhalten führt.' required: true translatable: false default_value: diff --git a/degov_paragraph_slideshow/config/update_8001/rewrite/field.field.paragraph.slideshow.field_slideshow_type.yml b/degov_paragraph_slideshow/config/update_8001/rewrite/field.field.paragraph.slideshow.field_slideshow_type.yml new file mode 100644 index 00000000..f95ae117 --- /dev/null +++ b/degov_paragraph_slideshow/config/update_8001/rewrite/field.field.paragraph.slideshow.field_slideshow_type.yml @@ -0,0 +1 @@ +description: 'Bitte beachten Sie, dass nur "Typ 1" zur korrekten Darstellung bei verlinkten Inhalten führt.' diff --git a/degov_paragraph_slideshow/degov_paragraph_slideshow.install b/degov_paragraph_slideshow/degov_paragraph_slideshow.install index 19cba970..09982c1c 100644 --- a/degov_paragraph_slideshow/degov_paragraph_slideshow.install +++ b/degov_paragraph_slideshow/degov_paragraph_slideshow.install @@ -12,3 +12,10 @@ function degov_paragraph_slideshow_uninstall() { 'entity_bundles' => ['slide', 'slideshow'], ]); } + +/** + * Add description to field_slideshow_type + */ +function degov_paragraph_slideshow_update_8001() { + \Drupal::service('degov_config.module_updater')->applyUpdates('degov_paragraph_slideshow', '8001'); +} diff --git a/degov_paragraph_view_reference/degov_paragraph_view_reference.install b/degov_paragraph_view_reference/degov_paragraph_view_reference.install index ce3321bf..7e2e32b0 100644 --- a/degov_paragraph_view_reference/degov_paragraph_view_reference.install +++ b/degov_paragraph_view_reference/degov_paragraph_view_reference.install @@ -16,8 +16,8 @@ function degov_paragraph_view_reference_uninstall() { /** * Next module update version is 8004. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_paragraph_view_reference/degov_paragraph_view_reference.module b/degov_paragraph_view_reference/degov_paragraph_view_reference.module index 1f7a08c3..2f331d20 100644 --- a/degov_paragraph_view_reference/degov_paragraph_view_reference.module +++ b/degov_paragraph_view_reference/degov_paragraph_view_reference.module @@ -263,7 +263,7 @@ function degov_paragraph_view_reference_field_widget_form_alter(&$element, \Drup $element['argument']['#weight'] = $arguments_weight; $element['argument']['#states'] = $argument_states; $element['argument']['#suffix'] = ''; - $view_modes = \Drupal::service('entity_display.repository') + $view_modes = ['' => t('As defined in the view')] + \Drupal::service('entity_display.repository') ->getViewModeOptions($entity_type); if (!in_array($extra_data['view_mode'], array_keys($view_modes))) { $extra_data['view_mode'] = 'default'; diff --git a/degov_paragraph_view_reference/src/Plugin/Field/FieldFormatter/ViewsReferenceOverridenFieldFormatter.php b/degov_paragraph_view_reference/src/Plugin/Field/FieldFormatter/ViewsReferenceOverridenFieldFormatter.php index 72391ae7..e3ea9904 100644 --- a/degov_paragraph_view_reference/src/Plugin/Field/FieldFormatter/ViewsReferenceOverridenFieldFormatter.php +++ b/degov_paragraph_view_reference/src/Plugin/Field/FieldFormatter/ViewsReferenceOverridenFieldFormatter.php @@ -55,37 +55,41 @@ public function viewElements(FieldItemListInterface $items, $langcode) { $view_arguments_config[] = $argument_config; } } - // load the arguments from the field storage. - $arguments = [$argument]; - if (preg_match('/\//', $argument)) { - $arguments = explode('/', $argument); - } - /** @var \Drupal\node\NodeInterface $node */ - $node = \Drupal::routeMatch()->getParameter('node'); - $token_service = \Drupal::token(); - if (is_array($arguments)) { - foreach ($arguments as $index => $argument) { - // Check if there are any tokens that need to be replaced. - if (!empty($token_service->scan($argument))) { - $arguments[$index] = $token_service->replace($argument, ['node' => $node]); - } - // If the argument is not set in the field set the exception value. - if ($argument == '' && !empty($view_arguments_config[$index])) { - if (!empty($view_arguments_config[$index]['exception']['value'])) { - $arguments[$index] = $view_arguments_config[$index]['exception']['value']; - } else { - $arguments[$index] = 0; + if (!empty($argument)) { + // load the arguments from the field storage. + $arguments = [$argument]; + if (preg_match('/\//', $argument)) { + $arguments = explode('/', $argument); + } + /** @var \Drupal\node\NodeInterface $node */ + $node = \Drupal::routeMatch()->getParameter('node'); + $token_service = \Drupal::token(); + if (is_array($arguments)) { + foreach ($arguments as $index => $argument) { + // Check if there are any tokens that need to be replaced. + if (!empty($token_service->scan($argument))) { + $arguments[$index] = $token_service->replace($argument, ['node' => $node]); } - // If there is a default value for the node, set it - we have the node object. - if ($view_arguments_config[$index]['default_argument_type'] == 'node' && $node instanceof NodeInterface) { - $arguments[$index] = $node->id(); + // If the argument is not set in the field set the exception value. + if ($argument == '' && !empty($view_arguments_config[$index])) { + if (!empty($view_arguments_config[$index]['exception']['value'])) { + $arguments[$index] = $view_arguments_config[$index]['exception']['value']; + } + else { + $arguments[$index] = 0; + } + // If there is a default value for the node, set it - we have the node object. + if ($view_arguments_config[$index]['default_argument_type'] == 'node' && $node instanceof NodeInterface) { + $arguments[$index] = $node->id(); + } } } } + $view->setArguments($arguments); } // Set the view display and arguments. $view->setDisplay($display_id); - $view->setArguments($arguments); + // Set number of available elements. if (!empty($extra_data['page_limit']) && is_numeric($extra_data['page_limit'])) { $limit = (int) $extra_data['page_limit']; diff --git a/degov_pathauto/degov_pathauto.install b/degov_pathauto/degov_pathauto.install index 4fb11703..a888d766 100644 --- a/degov_pathauto/degov_pathauto.install +++ b/degov_pathauto/degov_pathauto.install @@ -1,8 +1,9 @@ applyUpdates('degov_search_content', 8009); -} diff --git a/degov_search_media/config/update_8006/rewrite/facets.facet.search_media_changed.yml b/degov_search_media/config/update_8006/rewrite/facets.facet.search_media_changed.yml deleted file mode 100644 index d3afa1a1..00000000 --- a/degov_search_media/config/update_8006/rewrite/facets.facet.search_media_changed.yml +++ /dev/null @@ -1,9 +0,0 @@ -processor_configs: - date_item: - processor_id: date_item - weights: - build: -10 - settings: - date_display: actual_date - granularity: 4 - date_format: Y-m-d diff --git a/degov_search_media/degov_search_media.install b/degov_search_media/degov_search_media.install index f155e38e..72f70345 100644 --- a/degov_search_media/degov_search_media.install +++ b/degov_search_media/degov_search_media.install @@ -9,16 +9,9 @@ function degov_search_media_install() { } /** - * Next module update version is 8006. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * Next module update version is 8007. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ - -/** - * Update date range facet. - */ -function degov_search_media_update_8006() { - \Drupal::service('degov_config.module_updater')->applyUpdates('degov_search_media', 8006); -} diff --git a/degov_simplenews/config/rewrite/field.storage.node.simplenews_issue.yml b/degov_simplenews/config/rewrite/field.storage.node.simplenews_issue.yml new file mode 100644 index 00000000..cb061676 --- /dev/null +++ b/degov_simplenews/config/rewrite/field.storage.node.simplenews_issue.yml @@ -0,0 +1 @@ +cardinality: 10 diff --git a/degov_simplenews/config/update_8002/rewrite/field.storage.node.simplenews_issue.yml b/degov_simplenews/config/update_8002/rewrite/field.storage.node.simplenews_issue.yml new file mode 100644 index 00000000..cb061676 --- /dev/null +++ b/degov_simplenews/config/update_8002/rewrite/field.storage.node.simplenews_issue.yml @@ -0,0 +1 @@ +cardinality: 10 diff --git a/degov_simplenews/degov_simplenews.install b/degov_simplenews/degov_simplenews.install index e7e29eb1..ccebf637 100644 --- a/degov_simplenews/degov_simplenews.install +++ b/degov_simplenews/degov_simplenews.install @@ -2,8 +2,16 @@ /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ + +/** + * Change newsletter field cardinality. + */ +function degov_simplenews_update_8002() { + \Drupal::service('degov_config.module_updater') + ->applyUpdates('degov_simplenews', '8002'); +} diff --git a/degov_sitemap_settings/degov_sitemap_settings.install b/degov_sitemap_settings/degov_sitemap_settings.install index 688b408d..a888d766 100644 --- a/degov_sitemap_settings/degov_sitemap_settings.install +++ b/degov_sitemap_settings/degov_sitemap_settings.install @@ -2,8 +2,8 @@ /** * Next module update version is 8004. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_social_media_settings/degov_social_media_settings.install b/degov_social_media_settings/degov_social_media_settings.install index 881d5618..63fbbf89 100644 --- a/degov_social_media_settings/degov_social_media_settings.install +++ b/degov_social_media_settings/degov_social_media_settings.install @@ -2,10 +2,10 @@ /** * Next module update version is 8004. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ /** diff --git a/degov_social_media_settings/templates/degov-social-media-settings-block.html.twig b/degov_social_media_settings/templates/degov-social-media-settings-block.html.twig index 1ee18b3a..9b492050 100644 --- a/degov_social_media_settings/templates/degov-social-media-settings-block.html.twig +++ b/degov_social_media_settings/templates/degov-social-media-settings-block.html.twig @@ -32,6 +32,7 @@ Youtube, Google, Pinterest, + Instagram, Flickr oder Vimeo übertragen und unter Umständen auch dort gespeichert.
diff --git a/degov_taxonomy_media_accessibility/degov_taxonomy_media_accessibility.install b/degov_taxonomy_media_accessibility/degov_taxonomy_media_accessibility.install index ca2d37b0..f256fae9 100644 --- a/degov_taxonomy_media_accessibility/degov_taxonomy_media_accessibility.install +++ b/degov_taxonomy_media_accessibility/degov_taxonomy_media_accessibility.install @@ -15,8 +15,8 @@ function degov_taxonomy_media_accessibility_uninstall() { /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_taxonomy_media_language/degov_taxonomy_media_language.install b/degov_taxonomy_media_language/degov_taxonomy_media_language.install index 83c60dc9..f4811bd3 100644 --- a/degov_taxonomy_media_language/degov_taxonomy_media_language.install +++ b/degov_taxonomy_media_language/degov_taxonomy_media_language.install @@ -15,8 +15,8 @@ function degov_taxonomy_media_language_uninstall() { /** * Next module update version is 8002. - * All update hooks from 1.1 to 1.13 were deleted. - * There is no upgrade path from 1.1 to 1.13, you need first to update to 1.2 - * and every minor release as well until 1.13 respectively. - * The fresh install should have all the changes from 1.1 to 1.13. + * All update hooks from 1.1 to 1.14 were deleted. + * There is no upgrade path from 1.1 to 1.14, you need first to update to 1.2 + * and every minor release as well until 1.14 respectively. + * The fresh install should have all the changes from 1.1 to 1.14. */ diff --git a/degov_tweets/degov_tweets.info.yml b/degov_tweets/degov_tweets.info.yml index 10a9275c..96f7b5b3 100644 --- a/degov_tweets/degov_tweets.info.yml +++ b/degov_tweets/degov_tweets.info.yml @@ -3,5 +3,6 @@ description: "Erlaubt die Anzeige von Twitternachrichten als feed." package: deGov type: module core: 8.x +project: 'degov_tweets' dependencies: - degov_common diff --git a/degov_tweets/degov_tweets.module b/degov_tweets/degov_tweets.module index 7721b13b..c433899c 100644 --- a/degov_tweets/degov_tweets.module +++ b/degov_tweets/degov_tweets.module @@ -72,3 +72,15 @@ function degov_tweets_parse_tweet($text) { return $text; } + +/** + * Implements hook_locale_translation_projects_alter(). + */ +function degov_tweets_locale_translation_projects_alter(&$projects) { + $projects['degov_tweets'] = [ + 'info' => [ + 'interface translation project' => 'degov_tweets', + 'interface translation server pattern' => drupal_get_path('module', 'degov_tweets').'/translations/%language.po', + ], + ]; +} diff --git a/degov_tweets/templates/degov-tweets.html.twig b/degov_tweets/templates/degov-tweets.html.twig index 136d0d91..a7bd1142 100644 --- a/degov_tweets/templates/degov-tweets.html.twig +++ b/degov_tweets/templates/degov-tweets.html.twig @@ -13,7 +13,7 @@