You are here

protected function SecuredRedirectStub::isSafe in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php \Drupal\Tests\Component\HttpFoundation\SecuredRedirectStub::isSafe()
  2. 9 core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php \Drupal\Tests\Component\HttpFoundation\SecuredRedirectStub::isSafe()

File

core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php, line 58
Contains \Drupal\Tests\Component\HttpFoundation\SecuredRedirectResponseTest.

Class

SecuredRedirectStub

Namespace

Drupal\Tests\Component\HttpFoundation

Code

protected function isSafe($url) {

  // Empty implementation for testing.
  return TRUE;
}