You are here

public function TestAuthenticationProvider::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProvider::__construct()

Constructor.

File

core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php, line 77
Contains \Drupal\Tests\Core\Authentication\AuthenticationCollectorTest.

Class

TestAuthenticationProvider
A simple provider for unit testing AuthenticationCollector.

Namespace

Drupal\Tests\Core\Authentication

Code

public function __construct($provider_id) {
  $this->providerId = $provider_id;
}