You are here

class UntrustedCallbackException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Security/UntrustedCallbackException.php \Drupal\Core\Security\UntrustedCallbackException
  2. 9 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 {

}

Members