diff --git a/core/lib/Drupal.php b/core/lib/Drupal.php
index 4e4ba8c..d102559 100644
--- a/core/lib/Drupal.php
+++ b/core/lib/Drupal.php
@@ -675,4 +675,14 @@ public static function pathValidator() {
     return static::$container->get('path.validator');
   }
 
+  /**
+   * Returns the access manager service.
+   *
+   * @return \Drupal\Core\Access\AccessManagerInterface
+   *   The access manager service.
+   */
+  public static function accessManager() {
+    return static::$container->get('access_manager');
+  }
+
 }
diff --git a/core/tests/Drupal/Tests/Core/DrupalTest.php b/core/tests/Drupal/Tests/Core/DrupalTest.php
index f618beb..5af3c73 100644
--- a/core/tests/Drupal/Tests/Core/DrupalTest.php
+++ b/core/tests/Drupal/Tests/Core/DrupalTest.php
@@ -336,6 +336,14 @@ public function testPathValidator() {
   }
 
   /**
+   * Tests the accessManager() method.
+   */
+  public function testAccessManager() {
+    $this->setMockContainerService('access_manager');
+    $this->assertNotNull(\Drupal::accessManager());
+  }
+
+  /**
    * Sets up a mock expectation for the container get() method.
    *
    * @param string $service_name
