Commit f563f961 authored by catch's avatar catch
Browse files

Issue #3230554 by TR, longwave: path_alias.manager service no longer used by...

Issue #3230554 by TR, longwave: path_alias.manager service no longer used by Umami demo content installer
parent f56b80c9
......@@ -8,7 +8,6 @@
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\File\Exception\FileException;
use Drupal\Core\File\FileSystemInterface;
use Drupal\path_alias\AliasManagerInterface;
use Drupal\Core\State\StateInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
......@@ -20,13 +19,6 @@
*/
class InstallHelper implements ContainerInjectionInterface {
/**
* The path alias manager.
*
* @var \Drupal\path_alias\AliasManagerInterface
*/
protected $aliasManager;
/**
* Entity type manager.
*
......@@ -99,8 +91,6 @@ class InstallHelper implements ContainerInjectionInterface {
/**
* Constructs a new InstallHelper object.
*
* @param \Drupal\path_alias\AliasManagerInterface $aliasManager
* The path alias manager.
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager
* Entity type manager.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler
......@@ -110,8 +100,7 @@ class InstallHelper implements ContainerInjectionInterface {
* @param \Drupal\Core\File\FileSystemInterface $fileSystem
* The file system.
*/
public function __construct(AliasManagerInterface $aliasManager, EntityTypeManagerInterface $entityTypeManager, ModuleHandlerInterface $moduleHandler, StateInterface $state, FileSystemInterface $fileSystem) {
$this->aliasManager = $aliasManager;
public function __construct(EntityTypeManagerInterface $entityTypeManager, ModuleHandlerInterface $moduleHandler, StateInterface $state, FileSystemInterface $fileSystem) {
$this->entityTypeManager = $entityTypeManager;
$this->moduleHandler = $moduleHandler;
$this->state = $state;
......@@ -127,7 +116,6 @@ public function __construct(AliasManagerInterface $aliasManager, EntityTypeManag
*/
public static function create(ContainerInterface $container) {
return new static(
$container->get('path_alias.manager'),
$container->get('entity_type.manager'),
$container->get('module_handler'),
$container->get('state'),
......
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