class TrustedCallback
Same name in other branches
- 11.x core/lib/Drupal/Core/Security/Attribute/TrustedCallback.php \Drupal\Core\Security\Attribute\TrustedCallback
Attribute to tell that a method is a trusted callback.
Hierarchy
- class \Drupal\Core\Security\Attribute\TrustedCallback
Expanded class hierarchy of TrustedCallback
5 files declare their use of TrustedCallback
- 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 - RenderCallbacks.php in core/
modules/ navigation/ src/ RenderCallbacks.php - UsingNonInstalledTraitClass.php in core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ custom_annotation/ UsingNonInstalledTraitClass.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.