function 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
File
-
core/
lib/ Drupal/ Core/ Authentication/ AuthenticationCollector.php, line 55
Class
- AuthenticationCollector
- A collector class for authentication providers.
Namespace
Drupal\Core\AuthenticationCode
public function isGlobal($provider_id) {
return isset($this->globalProviders[$provider_id]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.