You are here

public function AuthenticationCollectorInterface::getProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php \Drupal\Core\Authentication\AuthenticationCollectorInterface::getProvider()

Returns an authentication provider.

Parameters

string $provider_id: The provider ID.

Return value

\Drupal\Core\Authentication\AuthenticationProviderInterface|NULL The authentication provider which matches the ID.

1 method overrides AuthenticationCollectorInterface::getProvider()
AuthenticationCollector::getProvider in core/lib/Drupal/Core/Authentication/AuthenticationCollector.php
Returns an authentication provider.

File

core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php, line 52
Contains \Drupal\Core\Authentication\AuthenticationCollectorInterface.

Class

AuthenticationCollectorInterface
Interface for collectors of registered authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function getProvider($provider_id);