From dbcb6ff6daacf77e921211c56d0124ba95882774 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Mon, 22 Jun 2020 09:46:01 +0100 Subject: [PATCH] Issue #3150471 by durgeshs, joachim: incorrect constant in docs for DoTrustedCallbackTrait::doTrustedCallback() (cherry picked from commit e3f32755a8a841fafd31cc6fee52a08724cd868c) --- core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php b/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php index d3d86b977ba5..4548a0a52be8 100644 --- a/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php +++ b/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php @@ -32,7 +32,7 @@ trait DoTrustedCallbackTrait { * @param string $error_type * (optional) The type of error to trigger. One of: * - TrustedCallbackInterface::THROW_EXCEPTION - * - TrustedCallbackInterface::TRIGGER_DEPRECATION + * - TrustedCallbackInterface::TRIGGER_WARNING * - TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION * Defaults to TrustedCallbackInterface::THROW_EXCEPTION. * @param string $extra_trusted_interface -- GitLab