function AuthenticationCollectorInterface::getProvider

Same name in other branches
  1. 9 core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php \Drupal\Core\Authentication\AuthenticationCollectorInterface::getProvider()
  2. 8.9.x core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php \Drupal\Core\Authentication\AuthenticationCollectorInterface::getProvider()
  3. 10 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 47

Class

AuthenticationCollectorInterface
Interface for collectors of registered authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function getProvider($provider_id);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.