7 calls to DoTrustedCallbackTrait::doTrustedCallback()

ComponentElement::generateComponentTemplate in core/lib/Drupal/Core/Render/Element/ComponentElement.php
Generates the template to render the component.
ComponentElement::preRenderComponent in core/lib/Drupal/Core/Render/Element/ComponentElement.php
Expands a component into an inline template with an attachment.
DoTrustedCallbackTraitTest::testException in core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
Tests exceptions are thrown for untrusted callbacks.
DoTrustedCallbackTraitTest::testTrustedCallbacks in core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
Tests trusted callbacks.
DoTrustedCallbackTraitTest::testTrustedCallbacksWithDeprecatedArg in core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
Tests trusted callback argument deprecation.
DoTrustedCallbackTraitTest::testUntrustedCallbacks in core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
Tests untrusted callbacks.
Renderer::doCallback in core/lib/Drupal/Core/Render/Renderer.php
Performs a callback.

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