LocalRedirectResponse

Provides a redirect response which cannot redirect to an external URL.

Hierarchy

File

core/lib/Drupal/Core/Routing/LocalRedirectResponse.php, line 8

Namespace

Drupal\Core\Routing

Members

Name Modifiers Type Description
CacheableResponseTrait::$cacheabilityMetadata protected property The cacheability metadata.
CacheableResponseTrait::addCacheableDependency public function Adds a dependency on an object: merges its cacheability metadata. Overrides CacheableResponseInterface::addCacheableDependency
CacheableResponseTrait::getCacheableMetadata public function Returns the cacheability metadata for this response. Overrides CacheableResponseInterface::getCacheableMetadata
CacheableSecuredRedirectResponse::fromResponse protected function Copies over the values from the given response. Overrides SecuredRedirectResponse::fromResponse
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.
RedirectResponse::$targetUrl protected property
RedirectResponse::create public static function
RedirectResponse::getTargetUrl public function Returns the target URL.
RedirectResponse::__construct public function Creates a redirect response so that it conforms to the rules defined for a redirect status code.
SecuredRedirectResponse::createFromRedirectResponse public static function Copies an existing redirect response into a safe one.
SecuredRedirectResponse::isSafe abstract protected function Returns whether the URL is considered as safe to redirect to.
SecuredRedirectResponse::setTargetUrl public function Sets the redirect target of this response. Overrides RedirectResponse::setTargetUrl
doc_Drupal
2016-10-29 09:24:34
Comments
Leave a Comment

Please login to continue.