You are here

public function RouteSubscriber::__construct in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Routing/RouteSubscriber.php \Drupal\sms\Routing\RouteSubscriber::__construct()
  2. 2.1.x src/Routing/RouteSubscriber.php \Drupal\sms\Routing\RouteSubscriber::__construct()

Constructs a new SMS Framework RouteSubscriber.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The gateway manager.

File

src/Routing/RouteSubscriber.php, line 31

Class

RouteSubscriber
Subscriber for SMS Framework routes.

Namespace

Drupal\sms\Routing

Code

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