You are here

public static function UntrustedObject::callback in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\UntrustedObject::callback()
  2. 10 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\UntrustedObject::callback()

File

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

Class

UntrustedObject

Namespace

Drupal\Tests\Core\Security

Code

public static function callback() {
  return 'test';
}