class SecuredRedirectStub in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php \Drupal\Tests\Component\HttpFoundation\SecuredRedirectStub
- 9 core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php \Drupal\Tests\Component\HttpFoundation\SecuredRedirectStub
Hierarchy
- class \Drupal\Tests\Component\HttpFoundation\SecuredRedirectStub extends \Drupal\Component\HttpFoundation\SecuredRedirectResponse
Expanded class hierarchy of SecuredRedirectStub
File
- core/
tests/ Drupal/ Tests/ Component/ HttpFoundation/ SecuredRedirectResponseTest.php, line 53 - Contains \Drupal\Tests\Component\HttpFoundation\SecuredRedirectResponseTest.
Namespace
Drupal\Tests\Component\HttpFoundationView source
class SecuredRedirectStub extends SecuredRedirectResponse {
/**
* {@inheritdoc}
*/
protected function isSafe($url) {
// Empty implementation for testing.
return TRUE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SecuredRedirectStub:: |
protected | function |