function TrustedCallbackInterface::trustedCallbacks
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::trustedCallbacks()
- 10 core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::trustedCallbacks()
- 11.x core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::trustedCallbacks()
Lists the trusted callbacks provided by the implementing class.
Trusted callbacks are public methods on the implementing class and can be invoked via \Drupal\Core\Security\DoTrustedCallbackTrait::doTrustedCallback().
Return value
string[] List of method names implemented by the class that can be used as trusted callbacks.
See also
\Drupal\Core\Security\DoTrustedCallbackTrait::doTrustedCallback()
37 methods override TrustedCallbackInterface::trustedCallbacks()
- AccountForm::trustedCallbacks in core/
modules/ user/ src/ AccountForm.php - Lists the trusted callbacks provided by the implementing class.
- AddFormBase::trustedCallbacks in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Lists the trusted callbacks provided by the implementing class.
- BigPipeRegressionTestController::trustedCallbacks in core/
modules/ big_pipe/ tests/ modules/ big_pipe_regression_test/ src/ BigPipeRegressionTestController.php - Lists the trusted callbacks provided by the implementing class.
- BigPipeTestController::trustedCallbacks in core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ src/ BigPipeTestController.php - Lists the trusted callbacks provided by the implementing class.
- BubblingTest::trustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Lists the trusted callbacks provided by the implementing class.
File
-
core/
lib/ Drupal/ Core/ Security/ TrustedCallbackInterface.php, line 40
Class
- TrustedCallbackInterface
- Interface to declare trusted callbacks.
Namespace
Drupal\Core\SecurityCode
public static function trustedCallbacks();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.