AuthenticationCollector::isGlobal

public AuthenticationCollector::isGlobal($provider_id)

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 55

Class

AuthenticationCollector
A collector class for authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function isGlobal($provider_id) {
  return isset($this->globalProviders[$provider_id]);
}
doc_Drupal
2016-10-29 08:45:10
Comments
Leave a Comment

Please login to continue.