public static function TrustedCallbackInterface::trustedCallbacks in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Security/TrustedCallbackInterface.php \Drupal\Core\Security\TrustedCallbackInterface::trustedCallbacks()
- 9 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()
23 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();