You are here

public function GroupAdminRouteSubscriber::__construct in Group 8

Same name and namespace in other branches
  1. 2.0.x 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\Routing

Code

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