diff --git a/src/LinkManager.php b/src/LinkManager.php
index e39fd48..5ada49d 100644
--- a/src/LinkManager.php
+++ b/src/LinkManager.php
@@ -12,7 +12,7 @@ use Drupal\Core\Database\Connection;
 use Drupal\Core\Entity\EntityFieldManagerInterface;
 use Drupal\Core\Entity\EntityInterface;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
-use Drupal\Core\Path\AliasManagerInterface;
+use Drupal\path_alias\AliasManagerInterface;
 use Drupal\Core\Url;
 use Drush\Log\LogLevel;
 use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -43,7 +43,7 @@ class LinkManager implements LinkManagerInterface {
   /**
    * Path alias manager service.
    *
-   * @var \Drupal\Core\Path\AliasManagerInterface
+   * @var \Drupal\path_alias\AliasManagerInterface
    */
   protected $pathAliasManager;
 
diff --git a/whatlinkshere.info.yml b/whatlinkshere.info.yml
index 09625f4..6bb9096 100644
--- a/whatlinkshere.info.yml
+++ b/whatlinkshere.info.yml
@@ -2,3 +2,4 @@ name: 'What Links Here'
 type: module
 description: 'Shows content references from node, taxonomy_term and media entities from text, link and entity reference field types on Node entities.'
 core: 8.x
+core_version_requirement: ^8 || ^9
