diff --git a/bootstrap_mint.info.yml b/bootstrap_mint.info.yml
index a51dfe5..4f9ab79 100644
--- a/bootstrap_mint.info.yml
+++ b/bootstrap_mint.info.yml
@@ -3,6 +3,7 @@ type: theme
base theme: classy
description: 'Bootstrap Mint is a fully responsive Drupal 8 theme built on Bootstrap 3 framework : Designed & developed by Binu Varghese. For professional support and customisation, reach us @ myndsets.'
core: 8.x
+core_version_requirement: ^8 || ^9
#Libraries
libraries:
diff --git a/bootstrap_mint.theme b/bootstrap_mint.theme
index 852b246..e1a4495 100644
--- a/bootstrap_mint.theme
+++ b/bootstrap_mint.theme
@@ -17,7 +17,7 @@ function bootstrap_mint_preprocess_html(&$variables) {
}
$current_path = \Drupal::service('path.current')->getPath();
- $variables['current_path'] = \Drupal::service('path.alias_manager')->getAliasByPath($current_path);
+ $variables['current_path'] = \Drupal::service('path_alias.manager')->getAliasByPath($current_path);
if (\Drupal::routeMatch()->getRouteName() == 'entity.taxonomy_term.canonical') {
$variables['term_id'] = \Drupal::routeMatch()->getRawParameter('taxonomy_term');