public function GroupAdminRouteSubscriber::__construct in Group 2.0.x
Same name and namespace in other branches
- 8 src/Routing/GroupAdminRouteSubscriber.php \Drupal\group\Routing\GroupAdminRouteSubscriber::__construct()
Constructs a new GroupAdminRouteSubscriber.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
Routing/ GroupAdminRouteSubscriber.php, line 27
Class
- GroupAdminRouteSubscriber
- Sets the _admin_route for specific group-related routes.
Namespace
Drupal\group\RoutingCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}