diff --git a/core/modules/path/path.module b/core/modules/path/path.module
index 3d7f1d0..f745a72 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -79,6 +79,29 @@ function path_entity_base_field_info(EntityTypeInterface $entity_type) {
 }
 
 /**
+ * Implements hook_path_update().
+ */
+function path_path_update($path) {
+  $alias_manager = \Drupal::service('path.alias_manager');
+  $alias_manager->cacheClear($path['source']);
+  $alias_manager->cacheClear($path['original']['source']);
+}
+
+/**
+ * Implements hook_path_insert().
+ */
+function path_path_insert($path) {
+  \Drupal::service('path.alias_manager')->cacheClear($path['source']);
+}
+
+/**
+ * Implements hook_path_delete().
+ */
+function path_path_delete($path) {
+  \Drupal::service('path.alias_manager')->cacheClear($path['source']);
+}
+
+/**
  * Implements hook_entity_translation_delete().
  */
 function path_entity_translation_delete(EntityInterface $translation) {
diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index 04c428a..1bcdbea 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -1425,29 +1425,6 @@ function system_block_view_system_main_block_alter(array &$build, BlockPluginInt
 }
 
 /**
- * Implements hook_path_update().
- */
-function system_path_update($path) {
-  $alias_manager = \Drupal::service('path.alias_manager');
-  $alias_manager->cacheClear($path['source']);
-  $alias_manager->cacheClear($path['original']['source']);
-}
-
-/**
- * Implements hook_path_insert().
- */
-function system_path_insert($path) {
-  \Drupal::service('path.alias_manager')->cacheClear($path['source']);
-}
-
-/**
- * Implements hook_path_delete().
- */
-function system_path_delete($path) {
-  \Drupal::service('path.alias_manager')->cacheClear($path['source']);
-}
-
-/**
  * Implements hook_query_TAG_alter() for entity reference selection handlers.
  */
 function system_query_entity_reference_alter(AlterableInterface $query) {
diff --git a/core/modules/system/tests/src/Kernel/PathHooksTest.php b/core/modules/system/tests/src/Kernel/PathHooksTest.php
index fcbb499..aec273b 100644
--- a/core/modules/system/tests/src/Kernel/PathHooksTest.php
+++ b/core/modules/system/tests/src/Kernel/PathHooksTest.php
@@ -15,7 +15,7 @@ class PathHooksTest extends KernelTestBase {
   /**
    * {@inheritdoc}
    */
-  static public $modules = ['system'];
+  static public $modules = ['system', 'path'];
 
   /**
    * Test system_path_*() correctly clears caches.
