class UntrustedObject

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\UntrustedObject
  2. 10 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\UntrustedObject
  3. 11.x core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\UntrustedObject

Hierarchy

Expanded class hierarchy of UntrustedObject

File

core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php, line 117

Namespace

Drupal\Tests\Core\Security
View source
class UntrustedObject {
    public static function callback() {
        return 'test';
    }

}

Members

Title Sort descending Modifiers Object type Summary
UntrustedObject::callback public static function

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