You are here

class SecuredRedirectStub 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
  2. 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\HttpFoundation
View source
class SecuredRedirectStub extends SecuredRedirectResponse {

  /**
   * {@inheritdoc}
   */
  protected function isSafe($url) {

    // Empty implementation for testing.
    return TRUE;
  }

}

Members