You are here

protected function Routes::authProviderList in Entity Share 8

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

Build a list of authentication provider ids.

Return value

string[] The list of IDs.

1 call to Routes::authProviderList()
Routes::entryPoint in modules/entity_share_server/src/Routing/Routes.php
Provides the entry point route.

File

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

Class

Routes
Defines dynamic routes.

Namespace

Drupal\entity_share_server\Routing

Code

protected function authProviderList() {
  if (isset($this->providerIds)) {
    return $this->providerIds;
  }
  $this->providerIds = array_keys($this->authCollector
    ->getSortedProviders());
  return $this->providerIds;
}