function AuthenticationCollectorInterface::getProvider
Same name in other branches
- 9 core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php \Drupal\Core\Authentication\AuthenticationCollectorInterface::getProvider()
- 10 core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php \Drupal\Core\Authentication\AuthenticationCollectorInterface::getProvider()
- 11.x 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\AuthenticationCode
public function getProvider($provider_id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.