You are here

public static function TrustedCallbackInterface::trustedCallbacks in Drupal 8

Same name and namespace in other branches
  1. 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()

34 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.

... See full list

File

core/lib/Drupal/Core/Security/TrustedCallbackInterface.php, line 40

Class

TrustedCallbackInterface
Interface to declare trusted callbacks.

Namespace

Drupal\Core\Security

Code

public static function trustedCallbacks();