class UntrustedCallbackException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Security/UntrustedCallbackException.php \Drupal\Core\Security\UntrustedCallbackException
  2. 8.9.x core/lib/Drupal/Core/Security/UntrustedCallbackException.php \Drupal\Core\Security\UntrustedCallbackException
  3. 10 core/lib/Drupal/Core/Security/UntrustedCallbackException.php \Drupal\Core\Security\UntrustedCallbackException

Exception thrown if a callback is untrusted.

Hierarchy

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\Security
View source
class UntrustedCallbackException extends \RuntimeException {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.