You are here

public function AuthenticationManager::applies in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Authentication/AuthenticationManager.php \Drupal\Core\Authentication\AuthenticationManager::applies()
  2. 9 core/lib/Drupal/Core/Authentication/AuthenticationManager.php \Drupal\Core\Authentication\AuthenticationManager::applies()

File

core/lib/Drupal/Core/Authentication/AuthenticationManager.php, line 40

Class

AuthenticationManager
Manager for authentication.

Namespace

Drupal\Core\Authentication

Code

public function applies(Request $request) {
  return (bool) $this
    ->getProvider($request);
}