public function Auth::applies in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 44 - Contains \Drupal\early_translation_test\Auth.
Class
- Auth
- Test authentication provider.
Namespace
Drupal\early_translation_testCode
public function applies(Request $request) {
return FALSE;
}