You are here

public function SupportTicketAdminRouteSubscriber::__construct in Support Ticketing System 8

Constructs a new SupportTicketAdminRouteSubscriber.

Parameters

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

File

modules/support_ticket/src/EventSubscriber/SupportTicketAdminRouteSubscriber.php, line 32
Contains \Drupal\support_ticket\EventSubscriber\SupportTicketAdminRouteSubscriber.

Class

SupportTicketAdminRouteSubscriber
Sets the _admin_route for specific support ticket-related routes.

Namespace

Drupal\support_ticket\EventSubscriber

Code

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