constant RequestSanitizer::SANITIZE_WHITELIST in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Security/RequestSanitizer.php \Drupal\Core\Security\RequestSanitizer::SANITIZE_WHITELIST
Previous name of SANITIZE_INPUT_SAFE_KEYS.
Deprecated
in drupal:9.1.0 and is removed from drupal:10.0.0. Use SANITIZE_INPUT_SAFE_KEYS instead.
See also
https://www.drupal.org/node/3163148
File
- core/
lib/ Drupal/ Core/ Security/ RequestSanitizer.php, line 31
Class
- RequestSanitizer
- Sanitizes user input.
Namespace
Drupal\Core\SecurityCode
const SANITIZE_WHITELIST = 'sanitize_input_whitelist';