function TestAuthenticationProvider::applies

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProvider::applies()
  2. 10 core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProvider::applies()
  3. 11.x core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php \Drupal\Tests\Core\Authentication\TestAuthenticationProvider::applies()

Overrides AuthenticationProviderInterface::applies

File

core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php, line 84

Class

TestAuthenticationProvider
A simple provider for unit testing AuthenticationCollector.

Namespace

Drupal\Tests\Core\Authentication

Code

public function applies(Request $request) {
    return TRUE;
}

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