Commit c4728bcc authored by alexpott's avatar alexpott

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
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment