class TrustedCallback
Attribute to tell that a method is a trusted callback.
Attributes
#[\Attribute(\Attribute::TARGET_METHOD)]
Hierarchy
- class \Drupal\Core\Security\Attribute\TrustedCallback
Expanded class hierarchy of TrustedCallback
11 files declare their use of TrustedCallback
- BigPipeMessagesHooks.php in core/
modules/ big_pipe/ tests/ modules/ big_pipe_messages_test/ src/ Hook/ BigPipeMessagesHooks.php - DoTrustedCallbackTrait.php in core/
lib/ Drupal/ Core/ Security/ DoTrustedCallbackTrait.php - DoTrustedCallbackTraitTest.php in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - ExtendingNonInstalledClass.php in core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ custom_annotation/ ExtendingNonInstalledClass.php - LayoutBuilder.php in core/
modules/ layout_builder/ src/ Element/ LayoutBuilder.php
File
-
core/
lib/ Drupal/ Core/ Security/ Attribute/ TrustedCallback.php, line 8
Namespace
Drupal\Core\Security\AttributeView source
class TrustedCallback {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.