Provides a trait which ensures that a URL is safe to redirect to.
Hierarchy
- trait \Drupal\Core\Routing\LocalAwareRedirectResponseTrait
File
- core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 10
Namespace
Drupal\Core\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
LocalAwareRedirectResponseTrait::$requestContext | protected | property | The request context. |
LocalAwareRedirectResponseTrait::getRequestContext | protected | function | Returns the request context. |
LocalAwareRedirectResponseTrait::isLocal | protected | function | |
LocalAwareRedirectResponseTrait::setRequestContext | public | function | Sets the request context. |
Please login to continue.