You are here

public function Routes::__construct in Entity Share 8.2

Same name and namespace in other branches
  1. 8.3 modules/entity_share_server/src/Routing/Routes.php \Drupal\entity_share_server\Routing\Routes::__construct()
  2. 8 modules/entity_share_server/src/Routing/Routes.php \Drupal\entity_share_server\Routing\Routes::__construct()

Instantiates a Routes object.

Parameters

\Drupal\Core\Authentication\AuthenticationCollectorInterface $auth_collector: The authentication provider collector.

File

modules/entity_share_server/src/Routing/Routes.php, line 41

Class

Routes
Defines dynamic routes.

Namespace

Drupal\entity_share_server\Routing

Code

public function __construct(AuthenticationCollectorInterface $auth_collector) {
  $this->authCollector = $auth_collector;
}