class UntrustedCallbackException
Same name in other branches
- 9 core/lib/Drupal/Core/Security/UntrustedCallbackException.php \Drupal\Core\Security\UntrustedCallbackException
- 8.9.x core/lib/Drupal/Core/Security/UntrustedCallbackException.php \Drupal\Core\Security\UntrustedCallbackException
- 11.x core/lib/Drupal/Core/Security/UntrustedCallbackException.php \Drupal\Core\Security\UntrustedCallbackException
Exception thrown if a callback is untrusted.
Hierarchy
- class \Drupal\Core\Security\UntrustedCallbackException extends \Drupal\Core\Security\RuntimeException
Expanded class hierarchy of UntrustedCallbackException
4 files declare their use of UntrustedCallbackException
- DatelistElementFormTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ DatelistElementFormTest.php - DatetimeElementFormTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ DatetimeElementFormTest.php - DoTrustedCallbackTraitTest.php in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - RendererCallbackTest.php in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererCallbackTest.php
File
-
core/
lib/ Drupal/ Core/ Security/ UntrustedCallbackException.php, line 8
Namespace
Drupal\Core\SecurityView source
class UntrustedCallbackException extends \RuntimeException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.