public function RouteSubscriber::__construct in Translation Management Tool 8
Constructs a new RouteSubscriber.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- translators/
tmgmt_local/ src/ Routing/ RouteSubscriber.php, line 27
Class
- RouteSubscriber
- Listens to the dynamic route events.
Namespace
Drupal\tmgmt_local\RoutingCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}