Problem/Motivation
Core themes
Convert the missed hooks and move the remaining functions to the correct hook class
claro.theme is addressed here: #3579899: Remove remaining claro.theme functions
- olivero.theme
- _olivero_hex_to_hsl
- stable9.theme
- stable9_preprocess_item_list__search_results
- stable9_preprocess_views_view
Test themes
- access_test.theme
- test_installer_theme.theme
- test_installer_theme_form_install_select_language_form_alter
- test_missing_base_theme.theme
- views_test_checkboxes_theme.theme
- views_test_checkboxes_theme_form_views_exposed_form_alter
Steps to reproduce
Proposed resolution
Convert to trait and delete
_olivero_hex_to_hsl has no contrib uses
https://search.tresbien.tech/search?q=_olivero_hex_to_hsl
Convert and delete
test_installer_theme.theme
test_missing_base_theme.theme
views_test_checkboxes_theme.theme
Keep as is for bc and testing
stable9.theme
access_test.theme
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3579903
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3579903-eliminate-olivero-stable9
changes, plain diff MR !15142
Comments
Comment #2
nicxvan commentedComment #3
sourav_paulWorking on this...
Comment #4
nicxvan commentedI am actually going to work on this now.
Comment #5
nicxvan commentedComment #7
nicxvan commentedComment #8
nicxvan commentedComment #9
nicxvan commentedLet's convert the theme-settings.php too.
Comment #10
nicxvan commentedComment #11
nicxvan commentedI created #3580152: Deprecate theme-settings.php files for theme settings, let's just do .theme here.
Comment #12
sourav_paulThanks @nicxvan for picking this up, I was actually on it but in the midway, I've to go out for a medical reason. Changes are looks good to me .Feel free to mention me, If anything you want to need to fix or work on.
Comment #13
nicxvan commentedSorry about that, it's ready for review if you want to take a look!
Comment #14
berdirLooks straightforward. the helper function could either be a trait or a some utility class. Per #3579899: Remove remaining claro.theme functions, olivero too is marked as internal, so the underscored function is double-internal and it should be fine to just remove it, no known calls.
Comment #16
catchCommitted/pushed to main, thanks!