public AuthenticationCollector::getProvider($provider_id)
Returns an authentication provider.
string $provider_id: The provider ID.
\Drupal\Core\Authentication\AuthenticationProviderInterface|NULL The authentication provider which matches the ID.
Overrides AuthenticationCollectorInterface::getProvider
public function getProvider($provider_id) { return isset($this->providers[$provider_id]) ? $this->providers[$provider_id] : NULL; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Authentication!AuthenticationCollector.php/function/AuthenticationCollector::getProvider/8.1.x