class LocalRedirectResponse in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Routing/LocalRedirectResponse.php \Drupal\Core\Routing\LocalRedirectResponse
- 10 core/lib/Drupal/Core/Routing/LocalRedirectResponse.php \Drupal\Core\Routing\LocalRedirectResponse
Provides a redirect response which cannot redirect to an external URL.
Hierarchy
- class \Drupal\Component\HttpFoundation\SecuredRedirectResponse extends \Symfony\Component\HttpFoundation\RedirectResponse
- class \Drupal\Core\Routing\CacheableSecuredRedirectResponse implements CacheableResponseInterface uses CacheableResponseTrait
- class \Drupal\Core\Routing\LocalRedirectResponse uses LocalAwareRedirectResponseTrait
- class \Drupal\Core\Routing\CacheableSecuredRedirectResponse implements CacheableResponseInterface uses CacheableResponseTrait
Expanded class hierarchy of LocalRedirectResponse
2 files declare their use of LocalRedirectResponse
- BigPipeController.php in core/
modules/ big_pipe/ src/ Controller/ BigPipeController.php - RedirectResponseSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ RedirectResponseSubscriber.php
File
- core/
lib/ Drupal/ Core/ Routing/ LocalRedirectResponse.php, line 8
Namespace
Drupal\Core\RoutingView source
class LocalRedirectResponse extends CacheableSecuredRedirectResponse {
use LocalAwareRedirectResponseTrait {
LocalAwareRedirectResponseTrait::isLocal as isSafe;
}
}