Skip to content
Snippets Groups Projects
Commit c4728bcc authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2283061 by tim.plunkett: Fixed RequestPath condition uses non-existent...

Issue #2283061 by tim.plunkett: Fixed RequestPath condition uses non-existent service path.alias_manager.cached.
parent 55c34581
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -75,7 +75,7 @@ public function __construct(AliasManagerInterface $alias_manager, PathMatcherInt
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static(
$container->get('path.alias_manager.cached'),
$container->get('path.alias_manager'),
$container->get('path.matcher'),
$container->get('request_stack'),
$configuration,
......
......@@ -68,7 +68,7 @@ protected function setUp() {
// Set a mock alias manager in the container.
$this->aliasManager = new MockAliasManager();
$this->container->set('path.alias_manager.cached', $this->aliasManager);
$this->container->set('path.alias_manager', $this->aliasManager);
// Set the test request stack in the container.
$this->requestStack = new RequestStack();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment