function AuthenticationCollector::getProvider

Same name in other branches
  1. 9 core/lib/Drupal/Core/Authentication/AuthenticationCollector.php \Drupal\Core\Authentication\AuthenticationCollector::getProvider()
  2. 10 core/lib/Drupal/Core/Authentication/AuthenticationCollector.php \Drupal\Core\Authentication\AuthenticationCollector::getProvider()
  3. 11.x core/lib/Drupal/Core/Authentication/AuthenticationCollector.php \Drupal\Core\Authentication\AuthenticationCollector::getProvider()

Overrides AuthenticationCollectorInterface::getProvider

File

core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 62

Class

AuthenticationCollector
A collector class for authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function getProvider($provider_id) {
    return isset($this->providers[$provider_id]) ? $this->providers[$provider_id] : NULL;
}

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