LocalAwareRedirectResponseTrait::$requestContext

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php \Drupal\Core\Routing\LocalAwareRedirectResponseTrait::requestContext
  2. 10 core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php \Drupal\Core\Routing\LocalAwareRedirectResponseTrait::requestContext
  3. 11.x core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php \Drupal\Core\Routing\LocalAwareRedirectResponseTrait::requestContext

The request context.

Type: \Drupal\Core\Routing\RequestContext

File

core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 17

Class

LocalAwareRedirectResponseTrait
Provides a trait which ensures that a URL is safe to redirect to.

Namespace

Drupal\Core\Routing

Code

protected $requestContext;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.