public function Auth::applies in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/tests/modules/early_translation_test/src/Auth.php \Drupal\early_translation_test\Auth::applies()
Checks whether suitable authentication credentials are on the request.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The request object.
Return value
bool TRUE if authentication credentials suitable for this provider are on the request, FALSE otherwise.
Overrides AuthenticationProviderInterface::applies
File
- core/
modules/ locale/ tests/ modules/ early_translation_test/ src/ Auth.php, line 39
Class
- Auth
- Test authentication provider.
Namespace
Drupal\early_translation_testCode
public function applies(Request $request) {
return FALSE;
}