You are here

public function AuthenticationCollector::isGlobal in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Authentication/AuthenticationCollector.php \Drupal\Core\Authentication\AuthenticationCollector::isGlobal()

Returns whether a provider is considered global.

Parameters

string $provider_id: The provider ID.

Return value

bool TRUE if the provider is global, FALSE otherwise.

Overrides AuthenticationCollectorInterface::isGlobal

See also

\Drupal\Core\Authentication\AuthenticationCollectorInterface::addProvider

File

core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 60
Contains \Drupal\Core\Authentication\AuthenticationCollector.

Class

AuthenticationCollector
A collector class for authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function isGlobal($provider_id) {
  return isset($this->globalProviders[$provider_id]);
}