API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Security%...

Enter a descriptive title (above) relating to public function DoTrustedCallbackTrait::doTrustedCallback, then describe the problem you have found:

TrustedCallbackInterface::TRIGGER_DEPRECATION

This constant doesn't exist.

Instead, there's TrustedCallbackInterface::TRIGGER_WARNING which isn't documented.

CommentFileSizeAuthor
#3 3150471-2.patch762 bytesdurgeshs
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim created an issue. See original summary.

durgeshs’s picture

Assigned: Unassigned » durgeshs
Status: Active » Needs work
durgeshs’s picture

Assigned: durgeshs » Unassigned
Status: Needs work » Needs review
FileSize
762 bytes

Created patch for this changes. Please review it.

joachim’s picture

Status: Needs review » Reviewed & tested by the community

LGTM.

Thanks for the patch!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed e3f32755a8 to 9.1.x and 97a36e76e5 to 9.0.x and dbcb6ff6da to 8.9.x. Thanks!

  • alexpott committed e3f3275 on 9.1.x
    Issue #3150471 by durgeshs, joachim: incorrect constant in docs for...

  • alexpott committed 97a36e7 on 9.0.x
    Issue #3150471 by durgeshs, joachim: incorrect constant in docs for...

  • alexpott committed dbcb6ff on 8.9.x
    Issue #3150471 by durgeshs, joachim: incorrect constant in docs for...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.