You are here

public function ImceRouteSubscriber::__construct in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/Routing/ImceRouteSubscriber.php \Drupal\imce\Routing\ImceRouteSubscriber::__construct()

The constructor method.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Defines the configuration object factory.

File

src/Routing/ImceRouteSubscriber.php, line 27

Class

ImceRouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\imce\Routing

Code

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