You are here

public function RouteProcessor::__construct in Ubercart 8.4

Constructs a RouteProcessor object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

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

File

uc_catalog/src/Access/RouteProcessor.php, line 38

Class

RouteProcessor
Processes the outbound path by resolving it to the catalog page.

Namespace

Drupal\uc_catalog\Access

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager) {
  $this->configFactory = $config_factory;
  $this->entityTypeManager = $entity_type_manager;
}