TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION

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

Untrusted callbacks trigger silenced E_USER_DEPRECATION errors.

File

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

Class

TrustedCallbackInterface
Interface to declare trusted callbacks.

Namespace

Drupal\Core\Security

Code

const TRIGGER_SILENCED_DEPRECATION = 'silenced_deprecation';

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