Skip to content

Commit

Permalink
UHF-10908: Merge branch 'main' of https://github.com/City-of-Helsinki…
Browse files Browse the repository at this point in the history
…/drupal-helfi-platform-config into UHF-10908_cookie_settings_page
  • Loading branch information
khalima committed Dec 10, 2024
2 parents 983959a + abb361b commit f7eab9c
Show file tree
Hide file tree
Showing 85 changed files with 237 additions and 1,480 deletions.
37 changes: 0 additions & 37 deletions assets/js/clear-localstorage.js

This file was deleted.

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();
}
8 changes: 0 additions & 8 deletions helfi_platform_config.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ react_and_share:
js:
assets/js/reactAndShareSettings.js: {}

clear_localstorage:
version: 1.0.x
js:
assets/js/clear-localstorage.js: {}
dependencies:
- core/jquery
- core/drupal

# This library is loaded via chat_leijuke.js.
# Setting the preprocess to false will not affect this library.
# See: ChatLeijuke.php::build().
Expand Down
7 changes: 0 additions & 7 deletions helfi_platform_config.module
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,6 @@ function helfi_platform_config_module_implements_alter(&$implementations, $hook)
}
}

/**
* Implements hook_page_attachments().
*/
function helfi_platform_config_page_attachments(array &$attachments) : void {
$attachments['#attached']['library'][] = 'helfi_platform_config/clear_localstorage';
}

/**
* Implements hook_page_attachments_alter().
*/
Expand Down
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.

Loading

0 comments on commit f7eab9c

Please sign in to comment.