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]); }
Please login to continue.