TrustedCallbackInterface::THROW_EXCEPTION
Same name in other branches
- 9 core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::THROW_EXCEPTION
- 8.9.x core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::THROW_EXCEPTION
- 11.x core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::THROW_EXCEPTION
Untrusted callbacks throw exceptions.
File
-
core/
lib/ Drupal/ Core/ Security/ TrustedCallbackInterface.php, line 15
Class
- TrustedCallbackInterface
- Interface to declare trusted callbacks.
Namespace
Drupal\Core\SecurityCode
const THROW_EXCEPTION = 'exception';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.