TrustedCallbackInterface::TRIGGER_WARNING

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::TRIGGER_WARNING
  2. 10 core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::TRIGGER_WARNING

Untrusted callbacks trigger E_USER_WARNING errors.

File

core/lib/Drupal/Core/Security/TrustedCallbackInterface.php, line 20

Class

TrustedCallbackInterface
Interface to declare trusted callbacks.

Namespace

Drupal\Core\Security

Code

const TRIGGER_WARNING = 'warning';

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