diff --git a/core/modules/system/lib/Drupal/system/Plugin/Core/Condition/RequestPath.php b/core/modules/system/lib/Drupal/system/Plugin/Core/Condition/RequestPath.php index bf0661c..02d15e0 100644 --- a/core/modules/system/lib/Drupal/system/Plugin/Core/Condition/RequestPath.php +++ b/core/modules/system/lib/Drupal/system/Plugin/Core/Condition/RequestPath.php @@ -48,7 +48,7 @@ class RequestPath extends ConditionPluginBase implements ContainerFactoryPluginI * {@inheritdoc} */ public static function create(ContainerInterface $container, array $configuration, $plugin_id, array $plugin_definition) { - return new static($container->get('request'), $container->get('alias_manager'), $container->get('path_matcher'), $configuration, $plugin_id, $plugin_definition); + return new static($container->get('request'), $container->get('path.alias_manager'), $container->get('path_matcher'), $configuration, $plugin_id, $plugin_definition); } /** @@ -56,10 +56,8 @@ public static function create(ContainerInterface $container, array $configuratio * * @param \Symfony\Component\HttpFoundation\Request $request * The HttpRequest object representing the current request. - * * @param \Drupal\Core\Path\AliasManagerInterface $alias_manager * An alias manager to find the alias for the current system path. - * * @param \Drupal\Core\Path\PathMatcherInterface $path_matcher * A path matcher for matching the path against a pattern. */