You are here

public function InvokableUntrustedObject::__invoke in Drupal 10

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

File

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

Class

InvokableUntrustedObject

Namespace

Drupal\Tests\Core\Security

Code

public function __invoke() {
  return 'test';
}