public function PhotosRouteSubscriber::__construct in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 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\RoutingCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}