You are here

public function PathAliasXtProcessorAlias::__construct in Extended Path Aliases 8

Constructs a Path alias processor.

Parameters

\Drupal\path_alias\AliasManagerInterface $alias_manager: The alias manager service.

\Drupal\Core\Config\ConfigFactory $config_factory: The config factory service.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

Overrides PathProcessorAlias::__construct

File

src/PathAliasXtProcessorAlias.php, line 52

Class

PathAliasXtProcessorAlias
Processes inbound and outbound path determining alias.

Namespace

Drupal\path_alias_xt

Code

public function __construct(AliasManagerInterface $alias_manager, ConfigFactory $config_factory, ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($alias_manager);
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
  $this->entityTypeManager = $entity_type_manager;
}