Skip to content

Commit

Permalink
Merge pull request #856 from City-of-Helsinki/UHF-10555
Browse files Browse the repository at this point in the history
UHF-10555: Deprecated image style cleanup
  • Loading branch information
teroelonen authored Dec 5, 2024
2 parents 2e1c2a4 + f7fd8e4 commit f4d743c
Show file tree
Hide file tree
Showing 79 changed files with 230 additions and 1,421 deletions.
14 changes: 14 additions & 0 deletions helfi_platform_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,17 @@ function helfi_platform_config_update_9314() : void {
$config_factory->getEditable('block.block.hdbt_subtheme_user_inquiry')->delete();
}
}

/**
* UHF-10555: Removed unused media display.
*/
function helfi_platform_config_update_9315(): void {
// We need to remove some unused configuration that has swum to all instances
// but is now part of helfi_node_news_item module. The module is not on in
// all instances so that is why the configuration is removed here.
$config_factory = Drupal::configFactory();
$config_factory->getEditable('core.entity_view_mode.media.image_content_area')
->delete();
$config_factory->getEditable('core.entity_view_display.media.image.image_content_area')
->delete();
}
17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.1_1_l.yml

This file was deleted.

24 changes: 0 additions & 24 deletions modules/helfi_image_styles/config/install/image.style.1_1_l_2x.yml

This file was deleted.

17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.1_1_m.yml

This file was deleted.

24 changes: 0 additions & 24 deletions modules/helfi_image_styles/config/install/image.style.1_1_m_2x.yml

This file was deleted.

17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.1_1_s.yml

This file was deleted.

24 changes: 0 additions & 24 deletions modules/helfi_image_styles/config/install/image.style.1_1_s_2x.yml

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.1_1_xl.yml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.1_1_xs.yml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.23_10_l.yml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.23_10_m.yml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions modules/helfi_image_styles/config/install/image.style.23_10_s.yml

This file was deleted.

Loading

0 comments on commit f4d743c

Please sign in to comment.