function TestAccessClass::trustedCallbacks

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestAccessClass::trustedCallbacks()

File

core/tests/Drupal/Tests/Core/Render/RendererTest.php, line 1062

Class

TestAccessClass

Namespace

Drupal\Tests\Core\Render

Code

public static function trustedCallbacks() {
  return [
    'accessTrue',
    'accessFalse',
    'accessResultAllowed',
    'accessResultForbidden',
  ];
}

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