diff --git a/switch_page_theme.info.yml b/switch_page_theme.info.yml
index 17940b8..66dc908 100644
--- a/switch_page_theme.info.yml
+++ b/switch_page_theme.info.yml
@@ -3,5 +3,6 @@ description: 'Switches active theme on specific pages.'
 package: User Interface
 type: module
 core: 8.x
+core_version_requirement: ^8 || ^9
 
 configure: switch_page_theme.settings
