TrustedCallbackInterface::THROW_EXCEPTION

Same name in other branches
  1. 9 core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::THROW_EXCEPTION
  2. 8.9.x core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::THROW_EXCEPTION
  3. 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';

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