You are here

constant TrustedCallbackInterface::THROW_EXCEPTION in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::THROW_EXCEPTION
  2. 10 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\Security

Code

const THROW_EXCEPTION = 'exception';