You are here

public function PhotosRouteSubscriber::__construct in Album Photos 8.5

Same name and namespace in other branches
  1. 6.0.x src/Routing/PhotosRouteSubscriber.php \Drupal\photos\Routing\PhotosRouteSubscriber::__construct()

Constructs a new PhotosRouteSubscriber.

Parameters

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

File

src/Routing/PhotosRouteSubscriber.php, line 27

Class

PhotosRouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\photos\Routing

Code

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