TrustedRedirectResponse::$trustedUrls
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php \Drupal\Core\Routing\TrustedRedirectResponse::trustedUrls
- 10 core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php \Drupal\Core\Routing\TrustedRedirectResponse::trustedUrls
- 11.x core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php \Drupal\Core\Routing\TrustedRedirectResponse::trustedUrls
A list of trusted URLs, which are safe to redirect to.
Type: string[]
File
-
core/
lib/ Drupal/ Core/ Routing/ TrustedRedirectResponse.php, line 19
Class
- TrustedRedirectResponse
- Provides a redirect response which contains trusted URLs.
Namespace
Drupal\Core\RoutingCode
protected $trustedUrls = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.