function TrustedMethods::trustedCallbacks

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\TrustedMethods::trustedCallbacks()
  2. 8.9.x core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\TrustedMethods::trustedCallbacks()
  3. 10 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\TrustedMethods::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

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

Class

TrustedMethods

Namespace

Drupal\Tests\Core\Security

Code

public static function trustedCallbacks() {
    return [
        'callback',
    ];
}

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