class TrustedObject

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

Hierarchy

Expanded class hierarchy of TrustedObject

File

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

Namespace

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

}

Members

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

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