You are here

public function RouteSubscriber::__construct in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 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 32

Class

RouteSubscriber
Subscriber for SMS Framework routes.

Namespace

Drupal\sms\Routing

Code

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