class TrustedCallback

Same name in other branches
  1. 10 core/lib/Drupal/Core/Security/Attribute/TrustedCallback.php \Drupal\Core\Security\Attribute\TrustedCallback

Attribute to tell that a method is a trusted callback.

Hierarchy

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\Attribute
View source
class TrustedCallback {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.