diff --git a/core/lib/Drupal/Core/EventSubscriber/PathListenerBase.php b/core/lib/Drupal/Core/EventSubscriber/PathListenerBase.php deleted file mode 100644 index 39cc101..0000000 --- a/core/lib/Drupal/Core/EventSubscriber/PathListenerBase.php +++ /dev/null @@ -1,25 +0,0 @@ -attributes->get('_system_path'); - return isset($path) ? $path : trim($request->getPathInfo(), '/'); - } - - public function setPath(Request $request, $path) { - $request->attributes->set('_system_path', $path); - } -} diff --git a/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php index 21a0c62..472b31c 100644 --- a/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/PathSubscriber.php @@ -18,7 +18,7 @@ /** * Provides a path subscriber that converts path aliases. */ -class PathSubscriber extends PathListenerBase implements EventSubscriberInterface { +class PathSubscriber implements EventSubscriberInterface { /** * The alias manager that caches alias lookups based on the request.