diff --git a/composer.json b/composer.json index b07ec065..b8c806df 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,8 @@ "ymcatwincities/openy": "*", "open-y-subprojects/openy_node_alert": "^1.1.0", "open-y-subprojects/openy_demo_content": "^1.0", - "ynorth-projects/openy_node_session": "^0.9 || ^1.1.0" + "ynorth-projects/openy_node_session": "^0.9 || ^1.1.0", + "drupal/core": "^9.2" }, "license": "GPL-2.0+", "minimum-stability": "dev" diff --git a/openy_media/modules/openy_media_image/config/install/image.style.media_full.yml b/openy_media/modules/openy_media_image/config/install/image.style.media_full.yml index 28cfcf1d..fafebf8e 100644 --- a/openy_media/modules/openy_media_image/config/install/image.style.media_full.yml +++ b/openy_media/modules/openy_media_image/config/install/image.style.media_full.yml @@ -12,3 +12,9 @@ effects: width: 2280 height: 2280 upscale: false + f633d730-2fea-43b1-9ce5-4b32e3fd7b54: + uuid: f633d730-2fea-43b1-9ce5-4b32e3fd7b54 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_media/modules/openy_media_image/config/install/image.style.media_half.yml b/openy_media/modules/openy_media_image/config/install/image.style.media_half.yml index 2a7b7f7f..dcfc2f4d 100644 --- a/openy_media/modules/openy_media_image/config/install/image.style.media_half.yml +++ b/openy_media/modules/openy_media_image/config/install/image.style.media_half.yml @@ -12,3 +12,9 @@ effects: width: 570 height: null upscale: false + da79b7d8-2eaa-455d-a3cc-1c88a985efd5: + uuid: da79b7d8-2eaa-455d-a3cc-1c88a985efd5 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_focal_point.yml b/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_focal_point.yml index 7e53c7d9..e7da9e0c 100644 --- a/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_focal_point.yml +++ b/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_focal_point.yml @@ -12,3 +12,9 @@ effects: width: null height: 500 upscale: false + dda3c692-876e-4a94-984e-6b10fc52ee96: + uuid: dda3c692-876e-4a94-984e-6b10fc52ee96 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_for_preview.yml b/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_for_preview.yml index dbabb695..be439c87 100644 --- a/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_for_preview.yml +++ b/openy_media/modules/openy_media_image/config/install/image.style.thumbnail_for_preview.yml @@ -12,3 +12,9 @@ effects: width: 150 height: 150 anchor: center-center + 78b8d329-631c-44ae-b517-dbde12f94c06: + uuid: 78b8d329-631c-44ae-b517-dbde12f94c06 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_media/modules/openy_media_image/config/override/image.style.browser_thumbnail.yml b/openy_media/modules/openy_media_image/config/override/image.style.browser_thumbnail.yml index 3ea1cd80..492f20af 100644 --- a/openy_media/modules/openy_media_image/config/override/image.style.browser_thumbnail.yml +++ b/openy_media/modules/openy_media_image/config/override/image.style.browser_thumbnail.yml @@ -12,3 +12,9 @@ effects: width: 270 height: 200 anchor: center-center + 4df2a608-78df-4218-a931-53d3ab1d7597: + uuid: 4df2a608-78df-4218-a931-53d3ab1d7597 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_media/modules/openy_media_image/openy_media_image.info.yml b/openy_media/modules/openy_media_image/openy_media_image.info.yml index be6999b7..8e89c58b 100644 --- a/openy_media/modules/openy_media_image/openy_media_image.info.yml +++ b/openy_media/modules/openy_media_image/openy_media_image.info.yml @@ -1,7 +1,7 @@ name: 'Open Y Media Image' description: 'Provides an Image media entity and features.' type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 version: 8.x-1.0 package: 'Open Y' dependencies: diff --git a/openy_media/modules/openy_media_image/openy_media_image.install b/openy_media/modules/openy_media_image/openy_media_image.install index 5b2b066f..96ff26d8 100644 --- a/openy_media/modules/openy_media_image/openy_media_image.install +++ b/openy_media/modules/openy_media_image/openy_media_image.install @@ -359,3 +359,25 @@ function openy_media_image_update_8014() { $config->set('type_settings.display_plugins', $updated_view_modes)->save(TRUE); } + +/** + * Apply Webp to all image styles. + */ +function openy_media_image_update_8016() { + $path = \Drupal::service('extension.list.module')->getPath('openy_media_image') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.media_full', + 'image.style.media_half', + 'image.style.thumbnail_focal_point', + 'image.style.thumbnail_for_preview' + ]); + + $path = \Drupal::service('extension.list.module')->getPath('openy_media_image') . '/config/override'; + + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.browser_thumbnail' + ]); +} diff --git a/openy_node/config/install/image.style.facebook.yml b/openy_node/config/install/image.style.facebook.yml index bbc3d914..a0414ae9 100644 --- a/openy_node/config/install/image.style.facebook.yml +++ b/openy_node/config/install/image.style.facebook.yml @@ -12,3 +12,9 @@ effects: width: 600 height: 315 upscale: false + 5cc7aae0-016e-4841-8ca9-556674060bf3: + uuid: 5cc7aae0-016e-4841-8ca9-556674060bf3 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_blog/config/install/image.style.node_blog.yml b/openy_node/modules/openy_node_blog/config/install/image.style.node_blog.yml index 832894f5..92054627 100644 --- a/openy_node/modules/openy_node_blog/config/install/image.style.node_blog.yml +++ b/openy_node/modules/openy_node_blog/config/install/image.style.node_blog.yml @@ -14,3 +14,9 @@ effects: width: 762 height: 451 crop_type: focal_point + 46100baa-27d9-4a8a-b2f0-14d723b1ee78: + uuid: 46100baa-27d9-4a8a-b2f0-14d723b1ee78 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_blog/config/install/image.style.node_blog_teaser.yml b/openy_node/modules/openy_node_blog/config/install/image.style.node_blog_teaser.yml index 800c621b..b7e8c86b 100644 --- a/openy_node/modules/openy_node_blog/config/install/image.style.node_blog_teaser.yml +++ b/openy_node/modules/openy_node_blog/config/install/image.style.node_blog_teaser.yml @@ -14,3 +14,9 @@ effects: width: 362 height: 362 crop_type: focal_point + 77e02ffa-70e5-4b24-a1a9-2f7ee09b3379: + uuid: 77e02ffa-70e5-4b24-a1a9-2f7ee09b3379 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_blog/openy_node_blog.info.yml b/openy_node/modules/openy_node_blog/openy_node_blog.info.yml index 89052c41..e07f7946 100644 --- a/openy_node/modules/openy_node_blog/openy_node_blog.info.yml +++ b/openy_node/modules/openy_node_blog/openy_node_blog.info.yml @@ -1,7 +1,7 @@ name: Open Y Node Blog description: Provides a Blog content type and related configuration. type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: Open Y version: 8.x-1.0 dependencies: diff --git a/openy_node/modules/openy_node_blog/openy_node_blog.install b/openy_node/modules/openy_node_blog/openy_node_blog.install index f10a2cf7..7abfbc17 100644 --- a/openy_node/modules/openy_node_blog/openy_node_blog.install +++ b/openy_node/modules/openy_node_blog/openy_node_blog.install @@ -331,3 +331,16 @@ function openy_node_blog_update_8013() { } } } + +/** + * Apply Webp to all image styles. + */ +function openy_node_blog_update_8015() { + $path = \Drupal::service('extension.list.module')->getPath('openy_node_blog') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.node_blog', + 'image.style.node_blog_teaser' + ]); +} diff --git a/openy_node/modules/openy_node_category/config/install/image.style.node_program_subcategory_teaser.yml b/openy_node/modules/openy_node_category/config/install/image.style.node_program_subcategory_teaser.yml index a40e45ec..4550e0b6 100644 --- a/openy_node/modules/openy_node_category/config/install/image.style.node_program_subcategory_teaser.yml +++ b/openy_node/modules/openy_node_category/config/install/image.style.node_program_subcategory_teaser.yml @@ -14,3 +14,9 @@ effects: width: 360 height: 300 crop_type: focal_point + a64c1c5c-104e-4806-b935-626a6d328710: + uuid: a64c1c5c-104e-4806-b935-626a6d328710 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_category/openy_node_category.info.yml b/openy_node/modules/openy_node_category/openy_node_category.info.yml index f73b1bae..30f7a866 100644 --- a/openy_node/modules/openy_node_category/openy_node_category.info.yml +++ b/openy_node/modules/openy_node_category/openy_node_category.info.yml @@ -1,7 +1,7 @@ name: Open Y Node Program Subcategory description: Provides a Program Subcategory content type and related configuration. type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: Open Y version: 8.x-1.0 dependencies: diff --git a/openy_node/modules/openy_node_category/openy_node_category.install b/openy_node/modules/openy_node_category/openy_node_category.install index f704e229..073714ee 100644 --- a/openy_node/modules/openy_node_category/openy_node_category.install +++ b/openy_node/modules/openy_node_category/openy_node_category.install @@ -333,3 +333,15 @@ function openy_node_category_update_8015() { } } } + +/** + * Apply Webp to all image styles. + */ +function openy_node_category_update_8017() { + $path = \Drupal::service('extension.list.module')->getPath('openy_node_category') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.node_program_subcategory_teaser' + ]); +} diff --git a/openy_node/modules/openy_node_event/config/install/image.style.event_teaser.yml b/openy_node/modules/openy_node_event/config/install/image.style.event_teaser.yml index dc454acc..c2ef4320 100644 --- a/openy_node/modules/openy_node_event/config/install/image.style.event_teaser.yml +++ b/openy_node/modules/openy_node_event/config/install/image.style.event_teaser.yml @@ -11,3 +11,10 @@ effects: data: width: 266 height: 247 + anchor: center-center + b643fcfd-02c5-416a-a2ea-d0f69b38b10d: + uuid: b643fcfd-02c5-416a-a2ea-d0f69b38b10d + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_event/openy_node_event.info.yml b/openy_node/modules/openy_node_event/openy_node_event.info.yml index 873e254e..6d442060 100644 --- a/openy_node/modules/openy_node_event/openy_node_event.info.yml +++ b/openy_node/modules/openy_node_event/openy_node_event.info.yml @@ -2,7 +2,7 @@ name: Open Y Node Event description: Provides an Event content type and related configuration. type: module package: Open Y -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 version: 8.x-1.0 dependencies: - content_moderation:content_moderation diff --git a/openy_node/modules/openy_node_event/openy_node_event.install b/openy_node/modules/openy_node_event/openy_node_event.install index 0e15c568..5b1950db 100644 --- a/openy_node/modules/openy_node_event/openy_node_event.install +++ b/openy_node/modules/openy_node_event/openy_node_event.install @@ -27,3 +27,15 @@ function openy_node_event_update_8001() { } } } + +/** + * Apply Webp to all image styles. + */ +function openy_node_event_update_8003() { + $path = \Drupal::service('extension.list.module')->getPath('openy_node_event') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.event_teaser' + ]); +} diff --git a/openy_node/modules/openy_node_news/config/install/image.style.node_news.yml b/openy_node/modules/openy_node_news/config/install/image.style.node_news.yml index 02515c30..cf62ed59 100644 --- a/openy_node/modules/openy_node_news/config/install/image.style.node_news.yml +++ b/openy_node/modules/openy_node_news/config/install/image.style.node_news.yml @@ -14,3 +14,9 @@ effects: width: 762 height: 451 crop_type: focal_point + 7a0d8f05-1d40-4d6e-892e-bef93b976135: + uuid: 7a0d8f05-1d40-4d6e-892e-bef93b976135 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_news/config/install/image.style.node_news_teaser.yml b/openy_node/modules/openy_node_news/config/install/image.style.node_news_teaser.yml index 588cae09..ef6403e1 100644 --- a/openy_node/modules/openy_node_news/config/install/image.style.node_news_teaser.yml +++ b/openy_node/modules/openy_node_news/config/install/image.style.node_news_teaser.yml @@ -12,3 +12,9 @@ effects: width: 362 height: 362 anchor: center-center + 6c434290-d50d-438c-89ff-c6fbe291e1c0: + uuid: 6c434290-d50d-438c-89ff-c6fbe291e1c0 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_news/openy_node_news.info.yml b/openy_node/modules/openy_node_news/openy_node_news.info.yml index 512aaa48..2b006884 100644 --- a/openy_node/modules/openy_node_news/openy_node_news.info.yml +++ b/openy_node/modules/openy_node_news/openy_node_news.info.yml @@ -2,7 +2,7 @@ name: Open Y Node News package: Open Y description: Provides a News post content type and related configuration. type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 version: 8.x-1.0 dependencies: - drupal:field diff --git a/openy_node/modules/openy_node_news/openy_node_news.install b/openy_node/modules/openy_node_news/openy_node_news.install index 64e62b8e..8002dec1 100644 --- a/openy_node/modules/openy_node_news/openy_node_news.install +++ b/openy_node/modules/openy_node_news/openy_node_news.install @@ -106,3 +106,16 @@ function openy_node_news_update_8005() { } } } + +/** + * Apply Webp to all image styles. + */ +function openy_node_news_update_8007() { + $path = \Drupal::service('extension.list.module')->getPath('openy_node_news') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.node_news', + 'image.style.node_news_teaser' + ]); +} diff --git a/openy_node/modules/openy_node_program/config/install/image.style.node_program_header.yml b/openy_node/modules/openy_node_program/config/install/image.style.node_program_header.yml index 8089136a..45751e14 100644 --- a/openy_node/modules/openy_node_program/config/install/image.style.node_program_header.yml +++ b/openy_node/modules/openy_node_program/config/install/image.style.node_program_header.yml @@ -14,3 +14,9 @@ effects: width: 500 height: 260 crop_type: focal_point + a3c828eb-41e6-4422-928a-dd1aedb80584: + uuid: a3c828eb-41e6-4422-928a-dd1aedb80584 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_node/modules/openy_node_program/openy_node_program.info.yml b/openy_node/modules/openy_node_program/openy_node_program.info.yml index 13006e26..ed16f73b 100644 --- a/openy_node/modules/openy_node_program/openy_node_program.info.yml +++ b/openy_node/modules/openy_node_program/openy_node_program.info.yml @@ -1,7 +1,7 @@ name: Open Y Node Program description: Provides a Program content type and related configuration. type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: Open Y version: 8.x-1.0 dependencies: diff --git a/openy_node/modules/openy_node_program/openy_node_program.install b/openy_node/modules/openy_node_program/openy_node_program.install index dbb0a5ca..60e397b3 100644 --- a/openy_node/modules/openy_node_program/openy_node_program.install +++ b/openy_node/modules/openy_node_program/openy_node_program.install @@ -312,3 +312,15 @@ function openy_node_program_update_8013() { 'field.field.node.program.field_header_content', ]); } + +/** + * Apply Webp to all image styles. + */ +function openy_node_program_update_8015() { + $path = \Drupal::service('extension.list.module')->getPath('openy_node_program') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.node_program_header' + ]); +} diff --git a/openy_node/modules/openy_node_social_post/config/install/image.style.social_post_preview.yml b/openy_node/modules/openy_node_social_post/config/install/image.style.social_post_preview.yml index ba8f1975..76d039dd 100644 --- a/openy_node/modules/openy_node_social_post/config/install/image.style.social_post_preview.yml +++ b/openy_node/modules/openy_node_social_post/config/install/image.style.social_post_preview.yml @@ -3,4 +3,10 @@ status: true dependencies: { } name: social_post_preview label: 'Social post preview' -effects: { } +effects: + 33f73c57-01b3-4354-a52d-1c7fc9aaa748: + uuid: 33f73c57-01b3-4354-a52d-1c7fc9aaa748 + id: image_convert + weight: 1 + data: + extension: webp diff --git a/openy_node/modules/openy_node_social_post/openy_node_social_post.info.yml b/openy_node/modules/openy_node_social_post/openy_node_social_post.info.yml index 78de6896..0f84b7f0 100644 --- a/openy_node/modules/openy_node_social_post/openy_node_social_post.info.yml +++ b/openy_node/modules/openy_node_social_post/openy_node_social_post.info.yml @@ -1,7 +1,7 @@ name: Open Y Node Social Post description: Provides a Social post content type and related configuration. type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 version: 8.x-1.0 package: Open Y dependencies: diff --git a/openy_node/modules/openy_node_social_post/openy_node_social_post.install b/openy_node/modules/openy_node_social_post/openy_node_social_post.install index 2acf665a..88bd4d5b 100644 --- a/openy_node/modules/openy_node_social_post/openy_node_social_post.install +++ b/openy_node/modules/openy_node_social_post/openy_node_social_post.install @@ -61,3 +61,15 @@ function openy_node_social_post_update_8002() { } } } + +/** + * Apply Webp to all image styles. + */ +function openy_node_social_post_update_8004() { + $path = \Drupal::service('extension.list.module')->getPath('openy_node_social_post') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.social_post_preview' + ]); +} diff --git a/openy_node/openy_node.info.yml b/openy_node/openy_node.info.yml index 35263b5e..11e3d4e2 100644 --- a/openy_node/openy_node.info.yml +++ b/openy_node/openy_node.info.yml @@ -1,7 +1,7 @@ name: Open Y Node Package description: Bundle of custom content type modules for Open Y, and their common configuration. type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: Open Y version: 8.x-1.0 configure: system.site_information_settings diff --git a/openy_node/openy_node.install b/openy_node/openy_node.install index ef45e3b8..351c0d3a 100644 --- a/openy_node/openy_node.install +++ b/openy_node/openy_node.install @@ -138,3 +138,15 @@ function openy_node_update_8007() { $view->save(); } } + +/** + * Apply Webp to all image styles. + */ +function openy_node_update_8009() { + $path = \Drupal::service('extension.list.module')->getPath('openy_node') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.facebook' + ]); +} diff --git a/openy_prgf/modules/openy_prgf_banner/config/install/image.style.carnation_banner_1920_700.yml b/openy_prgf/modules/openy_prgf_banner/config/install/image.style.carnation_banner_1920_700.yml index eda2189e..96ac6259 100644 --- a/openy_prgf/modules/openy_prgf_banner/config/install/image.style.carnation_banner_1920_700.yml +++ b/openy_prgf/modules/openy_prgf_banner/config/install/image.style.carnation_banner_1920_700.yml @@ -22,3 +22,9 @@ effects: width: '1920' height: '700' crop_type: focal_point + c7411970-f7a8-4836-9953-d7142ae43808: + uuid: c7411970-f7a8-4836-9953-d7142ae43808 + id: image_convert + weight: 3 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_banner/config/install/image.style.prgf_banner.yml b/openy_prgf/modules/openy_prgf_banner/config/install/image.style.prgf_banner.yml index 5c01ac51..a2f6b95c 100644 --- a/openy_prgf/modules/openy_prgf_banner/config/install/image.style.prgf_banner.yml +++ b/openy_prgf/modules/openy_prgf_banner/config/install/image.style.prgf_banner.yml @@ -22,3 +22,9 @@ effects: weight: -10 data: crop_type: crop_960_600 + e4410f29-3b93-4211-9926-85fd1d95e786: + uuid: e4410f29-3b93-4211-9926-85fd1d95e786 + id: image_convert + weight: 3 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.info.yml b/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.info.yml index 4154b8a8..d3559ab7 100644 --- a/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.info.yml +++ b/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.info.yml @@ -1,7 +1,7 @@ name: 'Open Y Paragraph Banner' description: 'Implements a paragraph with banner content.' type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: 'Open Y' version: 8.x-1.0 dependencies: diff --git a/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.install b/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.install index 9df2880e..3752a957 100644 --- a/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.install +++ b/openy_prgf/modules/openy_prgf_banner/openy_prgf_banner.install @@ -211,3 +211,16 @@ function openy_prgf_banner_update_8011() { 'image.style.carnation_banner_1920_700' ]); } + +/** + * Apply Webp to all image styles. + */ +function openy_prgf_banner_update_8013() { + $path = \Drupal::service('extension.list.module')->getPath('openy_prgf_banner') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.carnation_banner_1920_700', + 'image.style.prgf_banner' + ]); +} diff --git a/openy_prgf/modules/openy_prgf_gallery/config/install/image.style.gallery_thumbnail.yml b/openy_prgf/modules/openy_prgf_gallery/config/install/image.style.gallery_thumbnail.yml index b937dd68..25539cda 100644 --- a/openy_prgf/modules/openy_prgf_gallery/config/install/image.style.gallery_thumbnail.yml +++ b/openy_prgf/modules/openy_prgf_gallery/config/install/image.style.gallery_thumbnail.yml @@ -1,4 +1,3 @@ -uuid: 78ebfcf1-6599-48fd-83ba-0c6492499e9b langcode: en status: true dependencies: @@ -15,3 +14,9 @@ effects: width: '192' height: '70' crop_type: focal_point + c354e877-a3e3-423c-95fe-c251049d91fb: + uuid: c354e877-a3e3-423c-95fe-c251049d91fb + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.info.yml b/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.info.yml index 6c2a2dce..74a3a57b 100644 --- a/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.info.yml +++ b/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.info.yml @@ -1,7 +1,7 @@ name: 'Open Y Paragraph Gallery' description: 'Provides a paragraph to display gallery content.' type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: 'Open Y' version: 8.x-1.0 dependencies: diff --git a/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.install b/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.install index 5a92f564..306e2f12 100644 --- a/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.install +++ b/openy_prgf/modules/openy_prgf_gallery/openy_prgf_gallery.install @@ -160,3 +160,15 @@ function openy_prgf_gallery_update_8008() { 'image.style.gallery_thumbnail', ]); } + +/** + * Apply Webp to all image styles. + */ +function openy_prgf_gallery_update_8010() { + $path = \Drupal::service('extension.list.module')->getPath('openy_prgf_gallery') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.gallery_thumbnail' + ]); +} diff --git a/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_preview.yml b/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_preview.yml index 31b6ce29..1401947f 100644 --- a/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_preview.yml +++ b/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_preview.yml @@ -12,3 +12,9 @@ effects: width: 262 height: 233 anchor: center-center + cf833ea2-a319-4e7d-bc1b-440e288195ff: + uuid: cf833ea2-a319-4e7d-bc1b-440e288195ff + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_summary.yml b/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_summary.yml index 8f3b5e7f..e60a0ffb 100644 --- a/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_summary.yml +++ b/openy_prgf/modules/openy_prgf_mbrshp_calc/config/install/image.style.node_mbrshp_calc_summary.yml @@ -12,3 +12,9 @@ effects: width: null height: 300 upscale: true + 969f138c-4180-4a5f-9291-934283d3a039: + uuid: 969f138c-4180-4a5f-9291-934283d3a039 + id: image_convert + weight: 2 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.info.yml b/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.info.yml index 771f46c8..fc9209dd 100644 --- a/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.info.yml +++ b/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.info.yml @@ -1,7 +1,7 @@ name: Open Y Paragraph Membership Calculator description: Provides a paragraph to render Membership calculator block. type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: Open Y version: 8.x-1.0 dependencies: diff --git a/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.install b/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.install index 1c334cfb..503f557b 100644 --- a/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.install +++ b/openy_prgf/modules/openy_prgf_mbrshp_calc/openy_prgf_mbrshp_calc.install @@ -79,3 +79,16 @@ function openy_prgf_mbrshp_calc_update_8004() { 'core.entity_view_display.media.image.calc_summary', ]); } + +/** + * Apply Webp to all image styles. + */ +function openy_prgf_mbrshp_calc_update_8006() { + $path = \Drupal::service('extension.list.module')->getPath('openy_prgf_mbrshp_calc') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.node_mbrshp_calc_preview', + 'image.style.node_mbrshp_calc_summary' + ]); +} diff --git a/openy_prgf/modules/openy_prgf_small_banner/config/install/image.style.prgf_small_banner.yml b/openy_prgf/modules/openy_prgf_small_banner/config/install/image.style.prgf_small_banner.yml index 38041e12..a8567de3 100644 --- a/openy_prgf/modules/openy_prgf_small_banner/config/install/image.style.prgf_small_banner.yml +++ b/openy_prgf/modules/openy_prgf_small_banner/config/install/image.style.prgf_small_banner.yml @@ -22,3 +22,9 @@ effects: weight: -10 data: crop_type: crop_760_400 + 6c8fdafb-a593-46f0-b565-9567f382d48b: + uuid: 6c8fdafb-a593-46f0-b565-9567f382d48b + id: image_convert + weight: 3 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.info.yml b/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.info.yml index 7e170fa6..6d285630 100644 --- a/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.info.yml +++ b/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.info.yml @@ -1,7 +1,7 @@ name: 'Open Y Paragraph Small Banner' description: 'Provides a paragraph to display small banner.' type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: 'Open Y' version: 8.x-1.0 dependencies: diff --git a/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.install b/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.install index ed98138f..f061d3d3 100644 --- a/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.install +++ b/openy_prgf/modules/openy_prgf_small_banner/openy_prgf_small_banner.install @@ -185,3 +185,15 @@ function openy_prgf_small_banner_update_8008() { 'image.style.prgf_small_banner' ]); } + +/** + * Apply Webp to all image styles. + */ +function openy_prgf_small_banner_update_8010() { + $path = \Drupal::service('extension.list.module')->getPath('openy_prgf_small_banner') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.prgf_small_banner' + ]); +} diff --git a/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.paragraph_teaser_520_440.yml b/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.paragraph_teaser_520_440.yml index 5d356128..0811d795 100644 --- a/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.paragraph_teaser_520_440.yml +++ b/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.paragraph_teaser_520_440.yml @@ -22,3 +22,9 @@ effects: width: '520' height: '440' crop_type: focal_point + 6b5dfbaf-2c85-494a-8352-13be608ced6c: + uuid: 6b5dfbaf-2c85-494a-8352-13be608ced6c + id: image_convert + weight: 3 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.prgf_teaser.yml b/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.prgf_teaser.yml index 845609c1..df197576 100644 --- a/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.prgf_teaser.yml +++ b/openy_prgf/modules/openy_prgf_teaser/config/install/image.style.prgf_teaser.yml @@ -22,3 +22,9 @@ effects: weight: -10 data: crop_type: crop_260_220 + 5c74878e-a445-480d-bcf3-e6e9a4c44c37: + uuid: 5c74878e-a445-480d-bcf3-e6e9a4c44c37 + id: image_convert + weight: 3 + data: + extension: webp diff --git a/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.info.yml b/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.info.yml index 3e83a989..cb0d8ff2 100644 --- a/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.info.yml +++ b/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.info.yml @@ -1,7 +1,7 @@ name: 'Open Y Paragraph Teaser' description: 'Provides a paragraph to display teaser.' type: module -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9.2 package: 'Open Y' version: 8.x-1.0 dependencies: diff --git a/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.install b/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.install index 3771f8d4..f6de8b8a 100644 --- a/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.install +++ b/openy_prgf/modules/openy_prgf_teaser/openy_prgf_teaser.install @@ -193,3 +193,17 @@ function openy_prgf_teaser_update_8009() { } } } + +/** + * Apply Webp to all image styles. + */ +function openy_prgf_teaser_update_8011() { + $path = \Drupal::service('extension.list.module')->getPath('openy_prgf_teaser') . '/config/install'; + $config_importer = \Drupal::service('config_import.importer'); + $config_importer->setDirectory($path); + $config_importer->importConfigs([ + 'image.style.paragraph_teaser_520_440', + 'image.style.prgf_teaser' + ]); +} +