public function RouteSubscriber::__construct in Open Social 10.1.x
Same name in this branch
- 10.1.x modules/social_features/social_comment/src/Routing/RouteSubscriber.php \Drupal\social_comment\Routing\RouteSubscriber::__construct()
- 10.1.x modules/social_features/social_event/modules/social_event_managers/src/EventSubscriber/RouteSubscriber.php \Drupal\social_event_managers\EventSubscriber\RouteSubscriber::__construct()
Same name and namespace in other branches
- 10.3.x modules/social_features/social_comment/src/Routing/RouteSubscriber.php \Drupal\social_comment\Routing\RouteSubscriber::__construct()
- 10.0.x modules/social_features/social_comment/src/Routing/RouteSubscriber.php \Drupal\social_comment\Routing\RouteSubscriber::__construct()
- 10.2.x modules/social_features/social_comment/src/Routing/RouteSubscriber.php \Drupal\social_comment\Routing\RouteSubscriber::__construct()
Constructs a new RouteSubscriber.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config Factory.
File
- modules/
social_features/ social_comment/ src/ Routing/ RouteSubscriber.php, line 27
Class
- RouteSubscriber
- Listens to the dynamic route events.
Namespace
Drupal\social_comment\RoutingCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}